We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when running get_device_list, the data returned is in a dictionary format but the data has a custom class that is not iterable.
''' api_response = dict(api_response) Traceback (most recent call last): File "", line 1, in TypeError: 'DevicePaginationResponse' object is not iterable '''
The text was updated successfully, but these errors were encountered:
i think you want to iterate on either api_response.to_dict() or api_response.items()
api_response.to_dict()
api_response.items()
Sorry, something went wrong.
No branches or pull requests
when running get_device_list, the data returned is in a dictionary format but the data has a custom class that is not iterable.
'''
api_response = dict(api_response)
Traceback (most recent call last):
File "", line 1, in
TypeError: 'DevicePaginationResponse' object is not iterable
'''
The text was updated successfully, but these errors were encountered: