Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Fix incorrect id resolution #68

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix incorrect id resolution #68

wants to merge 2 commits into from

Conversation

jasonchoimtt
Copy link

The current code does not correctly resolve the id from the intended order: attribute -> key, but instead will raise an AttributeError if there is no such attribute. It will also not accept a falsy .id attribute, e.g. 0. This patch fixes the issue.

@pall-valmundsson
Copy link

This is addressed in #63 as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants