(_cursor: Optional[str])
| 214 | |
| 215 | def list(self) -> AutoPager[AgentView]: |
| 216 | async def fetch(_cursor: Optional[str]) -> Page: |
| 217 | resp = await self._c._read(lambda h: self._api.list_agents(_headers=h)) |
| 218 | # No cursor param: drop next_cursor so the pager stops after one page. |
| 219 | # (Single-page at GA — see webhooks.deliveries.) |
| 220 | return _page(resp.items) |
| 221 | |
| 222 | return AutoPager(fetch) |
| 223 |
no test coverage detected