Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Entity.__getitem__ #123

Merged
merged 1 commit into from
May 5, 2022
Merged

Fix Entity.__getitem__ #123

merged 1 commit into from
May 5, 2022

Conversation

simleo
Copy link
Collaborator

@simleo simleo commented May 5, 2022

When the JSON value is a list, the fancy item getter only works on the [{"@id": "..."}, {"@id": "..."}, ...] form. This PR extends the logic so it works in the general case.

@simleo simleo merged commit 08d3c6d into master May 5, 2022
@simleo simleo deleted the fix_entity_getitem branch May 5, 2022 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant