Skip to content

RequiresActionStateUpdate

Sub classes

Name Children Inherits
RequiresActionStateSessionUpdate
aclientp.schema.v2.session_updates
``state_update``: foreground work is blocked on user action.

    Base classes

    Name Children Inherits
    _StateBase
    aclientp.schema.v2.prompt

    ⋔ Inheritance diagram

    graph TD
      95970869547232["prompt.RequiresActionStateUpdate"]
      95970869470352["prompt._StateBase"]
      95970868359040["base.AnnotatedObject"]
      95970855946400["base.Schema"]
      95970851503232["main.BaseModel"]
      125067848591872["builtins.object"]
      95970869470352 --> 95970869547232
      95970868359040 --> 95970869470352
      95970855946400 --> 95970868359040
      95970851503232 --> 95970855946400
      125067848591872 --> 95970851503232

    🛈 DocStrings

    Bases: _StateBase

    The foreground workflow as a whole is blocked on user action.

    Source code in src/aclientp/schema/v2/prompt.py
    class RequiresActionStateUpdate(_StateBase):
        """The foreground workflow as a whole is blocked on user action."""
    
        state: Literal["requires_action"] = Field(default="requires_action", init=False)
    

    :fa-brands-github: Show source on GitHub