CloudTaskPaged Class
A paging container for iterating over a list of CloudTask object
Constructor
CloudTaskPaged(*args, **kwargs)
Methods
| advance_page |
Force moving the cursor to the next azure call. This method is for advanced usage, iterator protocol is preferred. |
| async_advance_page | |
| async_get |
Get an arbitrary page. This resets the iterator and then fully consumes it to return the specific page only. |
| get |
Get an arbitrary page. This resets the iterator and then fully consumes it to return the specific page only. |
| next |
Iterate through responses. |
| reset |
Reset iterator to first page. |
advance_page
Force moving the cursor to the next azure call.
This method is for advanced usage, iterator protocol is preferred.
advance_page() -> List[Model]
Returns
| Type | Description |
|---|---|
|
The current page list |
Exceptions
| Type | Description |
|---|---|
|
StopIteration if no further page
|
async_advance_page
async async_advance_page()
async_get
Get an arbitrary page.
This resets the iterator and then fully consumes it to return the specific page only.
async async_get(url)
Parameters
| Name | Description |
|---|---|
|
url
Required
|
URL to arbitrary page results. |
get
Get an arbitrary page.
This resets the iterator and then fully consumes it to return the specific page only.
get(url: str) -> List[Model]
Parameters
| Name | Description |
|---|---|
|
url
Required
|
URL to arbitrary page results. |
next
Iterate through responses.
next()
reset
Reset iterator to first page.
reset() -> None
Attributes
raw
Get current page as ClientRawResponse.
Returns
| Type | Description |
|---|---|
|
<xref:ClientRawResponse>
|