singer_sdk.pagination.SinglePagePaginator#

class singer_sdk.pagination.SinglePagePaginator#

A paginator that does works with single-page endpoints.

__init__(*args: Any, **kwargs: Any) None#

Create a new paginator.

Parameters:
  • args – Paginator positional arguments for base class.

  • kwargs – Paginator keyword arguments for base class.

get_next(response: Response) None#

Get the next pagination token or index from the API response.

Parameters:

response – API response object.

Returns:

The next page token or index. Return None from this method to indicate

the end of pagination.