You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tests, custom attribute name (attr_name parameter) are tested only for hash key. But they won't work for other attributes, because Model._deserialize() looks up "custom" (pythonic) attr name and doesn't check attr.attr_name, in contrary to Model._serialize() which uses aliased_attrs() for lookup.
The text was updated successfully, but these errors were encountered:
MarSoft
added a commit
to MarSoft/PynamoDB
that referenced
this issue
Oct 17, 2016
In tests, custom attribute name (
attr_name
parameter) are tested only for hash key. But they won't work for other attributes, becauseModel._deserialize()
looks up "custom" (pythonic) attr name and doesn't checkattr.attr_name
, in contrary toModel._serialize()
which usesaliased_attrs()
for lookup.The text was updated successfully, but these errors were encountered: