Pagination¶
See the pagination guide for usage patterns.
Bases: BasePage[T]
One page of results from the sync client.
next_page ¶
next_page() -> SyncCursorPage[T] | None
Fetch the next page, or return None on the last page.
The original filter/sort parameters are re-sent alongside the cursor, as required by the API (the cursor does not encode them).
iter_pages ¶
iter_pages() -> Iterator[SyncCursorPage[T]]
Iterate page by page, starting with this one.
Bases: BaseNumberedPage[T]
One page of results from a page-number paginated endpoint (sync).
Bases: BaseNumberedPage[T]
One page of results from a page-number paginated endpoint (async).