Wrong object type return for `ResourceManagementClient.resources.list()`
Ledge2494 opened this issue · 1 comments
Ledge2494 commented
Type of issue
Code doesn't work
Description
Hello Community,
I'm using the list
method for ResourceManagementClient.resources
and got a strange error while trying to look the return value :
TypeError: 'async for' requires an object with __aiter__ method, got PageIterator
The return object type is not the one describe by the documentation (except AsyncPageIterator instead of PageIterator)
I'm using api version 2022-09-01
Page URL
Content source URL
Document Version Independent Id
b84c0206-f275-e214-3bf1-9f3eb998aa9d
Article author
Metadata
- ID: 6be464c1-9927-3d69-51a1-5a92dc8afbd1
- Service: azure-resource-manager
github-actions commented
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.