Skip to content

UnknownStateUpdate

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970861582320["session_updates.UnknownStateUpdate"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970861582320
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: The Agent cannot currently determine foreground activity.

Also used for custom or future states, whose raw value is kept in state.

Source code in src/aclientp/schema/session_updates.py
class UnknownStateUpdate(AnnotatedObject):
    """**UNSTABLE**: The Agent cannot currently determine foreground activity.

    Also used for custom or future states, whose raw value is kept in ``state``.
    """

    state: str = "unknown"

:fa-brands-github: Show source on GitHub