Team Memberships : 'Client' object has no attribute 'team_memberships'
talhakalim opened this issue · 3 comments
talhakalim commented
It seems that the team memberships piece of the API is not working in Pythons
team_members = client.team_memberships.get_team_memberships_for_team(this_team['gid'], {}, opt_pretty=True)
AttributeError: 'Client' object has no attribute 'team_memberships'
rossgrambo-zz commented
Can you run:
import asana
print("ASANA VERSION:" + asana.__version__)
To confirm what version you're on?
talhakalim commented
I am on ASANA VERSION: 0.10.0
I have worked around by manually adding the team_memberships.py and creating a stub class in asana/resources pointing to asana/resources/gen/team_memberships.py. Which got things rolling.
rossgrambo-zz commented
Thank you @talhakalim !
This should be resolved in 0.10.1