Skip to content

pagination

Classes:

Name Description
AsyncCursorPage
AsyncPage

Note: no pagination actually occurs yet, this is for forwards-compatibility.

CursorPageItem
SyncCursorPage
SyncPage

Note: no pagination actually occurs yet, this is for forwards-compatibility.

AsyncCursorPage

Methods:

Name Description
next_page_info

Attributes:

Name Type Description
data List[_T]

data instance-attribute

data: List[_T]

next_page_info

next_page_info() -> Optional[PageInfo]

AsyncPage

Note: no pagination actually occurs yet, this is for forwards-compatibility.

Methods:

Name Description
next_page_info

This page represents a response that isn't actually paginated at the API level

Attributes:

Name Type Description
data List[_T]
object str

data instance-attribute

data: List[_T]

object instance-attribute

object: str

next_page_info

next_page_info() -> None

This page represents a response that isn't actually paginated at the API level so there will never be a next page.

CursorPageItem

Attributes:

Name Type Description
id Optional[str]

id instance-attribute

SyncCursorPage

Methods:

Name Description
next_page_info

Attributes:

Name Type Description
data List[_T]

data instance-attribute

data: List[_T]

next_page_info

next_page_info() -> Optional[PageInfo]

SyncPage

Note: no pagination actually occurs yet, this is for forwards-compatibility.

Methods:

Name Description
next_page_info

This page represents a response that isn't actually paginated at the API level

Attributes:

Name Type Description
data List[_T]
object str

data instance-attribute

data: List[_T]

object instance-attribute

object: str

next_page_info

next_page_info() -> None

This page represents a response that isn't actually paginated at the API level so there will never be a next page.