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

change in assing data id#145

Open
jurueta wants to merge 1 commit intopallets-eco:masterfrom
jurueta:master
Open

change in assing data id#145
jurueta wants to merge 1 commit intopallets-eco:masterfrom
jurueta:master

Conversation

@jurueta
Copy link
Copy Markdown

@jurueta jurueta commented May 12, 2021

This change is realized because of next error:

    identity = getattr(identity, 'id') or identity['id']
AttributeError: 'dict' object has no attribute 'id'

Generated when the variable identity is a dict and the getattr is for object.

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.

1 participant