Skip to content

ListSessionsResponse

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970871209408["sessions.ListSessionsResponse"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970871209408
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Response from listing sessions.

Source code in src/aclientp/schema/v2/sessions.py
class ListSessionsResponse(AnnotatedObject):
    """Response from listing sessions."""

    sessions: Sequence[SessionInfo]
    """Array of session information objects."""

    next_cursor: SessionListCursor | MISSING | None = MISSING
    """Opaque cursor token. If present, pass this in the next request's cursor parameter to
    fetch the next page. An empty string is a valid cursor, not the end of results."""

next_cursor class-attribute instance-attribute

next_cursor: SessionListCursor | MISSING | None = MISSING

Opaque cursor token. If present, pass this in the next request's cursor parameter to fetch the next page. An empty string is a valid cursor, not the end of results.

sessions instance-attribute

sessions: Sequence[SessionInfo]

Array of session information objects.

:fa-brands-github: Show source on GitHub