zenpy
zenpy copied to clipboard
zenpy_client.users.organizations() returning a Organization object instead a ResultGenerator
Hello , i'm trying to list all organizando of a user , in docs is showed a example like this
for organization in zenpy_client.users.organizations(user=1916242080765):
print (organization.name)
but when i try to run , a take this error:
for organization in zenpy_client.users.organizations(user=requester.id):
TypeError: 'Organization' object is not iterable
It does not appear at this zendesk api library supports associating a user with multiple organizations.