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
>>> Office.get_attributes()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/dev/patreon_py/venv/lib/python3.9/site-packages/pynamodb/attributes.py", line 554, in __repr__
fields = ', '.join(f'{k}={v!r}' for k, v in self.attribute_values.items())
File "/home/dev/patreon_py/venv/lib/python3.9/site-packages/pynamodb/attributes.py", line 1095, in __getattr__
raise AttributeError("'{}' has no attribute '{}'".format(self.__class__.__name__, attr))
AttributeError: 'Location' has no attribute 'attribute_values'
The text was updated successfully, but these errors were encountered:
Using the office model from examples,
Office.get_attributes()
raises an AttributeError exception.The text was updated successfully, but these errors were encountered: