async def iter_list_ground_stations(
self,
*,
config_overrides: Optional[AsyncGroundStationClientConfig] = None,
satellite_id: Optional["capo_groundstation.types.uuid.Uuid"] = None,
max_results: Optional[
"capo_groundstation.types.pagination_max_results.PaginationMaxResults"
] = None,
next_token: Optional[
"capo_groundstation.types.pagination_token.PaginationToken"
] = None,
) -> (
"AsyncIterator[capo_groundstation.types.ground_station_data.GroundStationData]"
):
_token = next_token
while True:
_response = await self.list_ground_stations(
config_overrides=config_overrides,
satellite_id=satellite_id,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("ground_station_list",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break