你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AsyncItemPaged Class
Return an async iterator of items.
args and kwargs will be passed to the AsyncPageIterator constructor directly, except page_iterator_class
- Inheritance
-
AsyncItemPagedAsyncItemPaged
Constructor
AsyncItemPaged(*args: Any, **kwargs: Any)
Methods
by_page |
Get an async iterator of pages of objects, instead of an async iterator of objects. |
by_page
Get an async iterator of pages of objects, instead of an async iterator of objects.
by_page(continuation_token: str | None = None) -> AsyncIterator[AsyncIterator[ReturnType]]
Parameters
Name | Description |
---|---|
continuation_token
|
An opaque continuation token. This value can be retrieved from the continuation_token field of a previous generator object. If specified, this generator will begin returning results from this point. Default value: None
|
Returns
Type | Description |
---|---|
An async iterator of pages (themselves async iterator of objects) |