Skip to content

iter_get_offering_status async

iter_get_offering_status(
    *,
    config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
    next_token: Optional[PaginationToken] = None,
) -> AsyncIterator[GetOfferingStatusResult]
Source code in docs_src/capo_device_farm/_services/async_device_farm.py
async def iter_get_offering_status(
    self,
    *,
    config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
    next_token: Optional[
        "capo_device_farm.types.pagination_token.PaginationToken"
    ] = None,
) -> "AsyncIterator[capo_device_farm.types.get_offering_status_result.GetOfferingStatusResult]":
    _token = next_token
    while True:
        _response = await self.get_offering_status(
            config_overrides=config_overrides,
            next_token=_token,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break