thoth
thoth copied to clipboard
Python client formatter crashing
Describe the bug Using the latest python client:
for contribution in work.contributions:
contributor = contribution.contributor
for affil in contribution.affiliations:
print(affil)
gives
File "/home/martin/.virtualenvs/intrepid/lib/python3.10/site-packages/munch/init.py", line 108, in getattr raise AttributeError(k) AttributeError: institutionName. Did you mean: 'institution'?
To Reproduce Steps to reproduce the behavior:
Attempt to access a contribution.affiliations collection's members.
Expected behavior Affil object is found
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Is this the same issue as https://github.com/thoth-pub/thoth-client/issues/21?