Skip to content

SessionStatusResponse

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Response from checking the status of a session.

Source code in src/aclientp/schema/v2/sessions.py
class SessionStatusResponse(AnnotatedObject):
    """**UNSTABLE**: Response from checking the status of a session."""

    status: SessionStatus
    """Whether the Agent has the session in memory."""

    state: StateUpdate | MISSING | None = MISSING
    """The session's current foreground state, as the same snapshot the Agent sends in
    ``state_update`` notifications."""

state class-attribute instance-attribute

state: StateUpdate | MISSING | None = MISSING

The session's current foreground state, as the same snapshot the Agent sends in state_update notifications.

status instance-attribute

status: SessionStatus

Whether the Agent has the session in memory.

:fa-brands-github: Show source on GitHub