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

Conversation

@jobevers
Copy link

If identity is a dictionary, identity = getattr(identity, 'id') or identity['id'] fails with AttributeError: 'dict' object has no attribute 'id'

Setting the default allows the id key to be used.

@pall-valmundsson
Copy link

Same as #63

@ghost
Copy link

ghost commented May 25, 2017

I second this

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