async def iter_describe_groups(
self,
search_query: "capo_workdocs.types.search_query_type.SearchQueryType",
*,
config_overrides: Optional[AsyncWorkDocsClientConfig] = None,
authentication_token: Optional[
"capo_workdocs.types.authentication_header_type.AuthenticationHeaderType"
] = None,
organization_id: Optional["capo_workdocs.types.id_type.IdType"] = None,
marker: Optional["capo_workdocs.types.marker_type.MarkerType"] = None,
limit: Optional[
"capo_workdocs.types.positive_integer_type.PositiveIntegerType"
] = None,
) -> "AsyncIterator[capo_workdocs.types.group_metadata.GroupMetadata]":
_token = marker
while True:
_response = await self.describe_groups(
search_query,
config_overrides=config_overrides,
authentication_token=authentication_token,
organization_id=organization_id,
marker=_token,
limit=limit,
)
_page = _resolve_path(_response, ("groups",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("marker",))
if not _token:
break