Skip to content

OtherStateSessionUpdate

Base classes

Name Children Inherits
OtherStateUpdate
aclientp.schema.v2.prompt
A custom or future state; ``state`` values starting with ``_`` are extensions.

⋔ Inheritance diagram

graph TD
  95970867546000["session_updates.OtherStateSessionUpdate"]
  95970869607760["prompt.OtherStateUpdate"]
  95970868374176["base.Unknown"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970869470352["prompt._StateBase"]
  95970869607760 --> 95970867546000
  95970868374176 --> 95970869607760
  95970868359040 --> 95970868374176
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232
  95970869470352 --> 95970869607760
  95970868359040 --> 95970869470352

🛈 DocStrings

Bases: OtherStateUpdate

state_update with a custom or future state.

Source code in src/aclientp/schema/v2/session_updates.py
class OtherStateSessionUpdate(OtherStateUpdate):
    """``state_update`` with a custom or future state."""

    session_update: Literal["state_update"] = Field(default="state_update", init=False)

:fa-brands-github: Show source on GitHub