Skip to content

iter_list_kx_changesets async

iter_list_kx_changesets(
    environment_id: EnvironmentId,
    database_name: DatabaseName,
    *,
    config_overrides: Optional[AsyncfinspaceClientConfig] = None,
    next_token: Optional[PaginationToken] = None,
    max_results: Optional[MaxResults] = None,
) -> AsyncIterator[ListKxChangesetsResponse]
Source code in docs_src/capo_finspace/_services/async_finspace.py
async def iter_list_kx_changesets(
    self,
    environment_id: "capo_finspace.types.environment_id.EnvironmentId",
    database_name: "capo_finspace.types.database_name.DatabaseName",
    *,
    config_overrides: Optional[AsyncfinspaceClientConfig] = None,
    next_token: Optional[
        "capo_finspace.types.pagination_token.PaginationToken"
    ] = None,
    max_results: Optional["capo_finspace.types.max_results.MaxResults"] = None,
) -> "AsyncIterator[capo_finspace.types.list_kx_changesets_response.ListKxChangesetsResponse]":
    _token = next_token
    while True:
        _response = await self.list_kx_changesets(
            environment_id,
            database_name,
            config_overrides=config_overrides,
            next_token=_token,
            max_results=max_results,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break