You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because it's an iterator using len() on it will give TypeError: object of type 'ItemPaged' has no len(). Yes you can use len(list()), but it's too wordy.
The text was updated successfully, but these errors were encountered:
Agree with Laurent. For paged item, we only know the length of this page which is not the real length of the operation. Close as by design but feel free to reopen it if you have concern.
Is your feature request related to a problem? Please describe.
For the class
ItemPaged
atazure-sdk-for-python/sdk/core/azure-core/azure/core/paging.py
Line 84 in 90fc2a7
It would be nice to add
__len__
function.Describe the solution you'd like
Because it's an iterator using
len()
on it will giveTypeError: object of type 'ItemPaged' has no len()
. Yes you can uselen(list())
, but it's too wordy.The text was updated successfully, but these errors were encountered: