Skip to content

OtherStateUpdate

Sub classes

Name Children Inherits
OtherStateSessionUpdate
aclientp.schema.v2.session_updates
``state_update`` with a custom or future state.

    Base classes

    Name Children Inherits
    Unknown
    aclientp.schema.v2.base
    Base of fallback variants of open unions: a custom or future variant.
    _StateBase
    aclientp.schema.v2.prompt

    ⋔ Inheritance diagram

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

    🛈 DocStrings

    Bases: Unknown, _StateBase

    A custom or future state; state values starting with _ are extensions.

    Source code in src/aclientp/schema/v2/prompt.py
    class OtherStateUpdate(Unknown, _StateBase):
        """A custom or future state; ``state`` values starting with ``_`` are extensions."""
    
        state: str
        """The state."""
    

    state instance-attribute

    state: str
    

    The state.

    :fa-brands-github: Show source on GitHub