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
I tried printing a pyactionnetwork.models.Tagging instance and I got:
[...]
File ".venv/lib/python3.10/site-packages/pyactionnetwork/models.py", line 89, in __repr__
return 'Tagging(id={0}, name={1})'.format(self.id, self.name)
AttributeError: 'Tagging' object has no attribute 'name'
Expected Behavior
I tried printing a
pyactionnetwork.models.Tagging
instance and I got:It should just print the id probably.
Current Behavior
An
AttributeError
is thrownPossible Solution
Line 89 should probably be:
Steps to Reproduce (for bugs)
Using my branch here https://github.com/fishinthecalculator/pyactionnetwork/tree/issue-21
Context
I was just trying to print some
Tagging
s for debugging purposes.Your Environment
latest available on pypi
the code is not public :(
The text was updated successfully, but these errors were encountered: