Skip to content

PlanUpdate

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Create or replace an ID-addressed plan.

Only sent if the client advertised the plan capability.

Source code in src/aclientp/schema/session_updates.py
class PlanUpdate(AnnotatedObject):
    """**UNSTABLE**: Create or replace an ID-addressed plan.

    Only sent if the client advertised the ``plan`` capability.
    """

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

    plan: PlanUpdateContent
    """The updated plan content."""

plan instance-attribute

The updated plan content.

:fa-brands-github: Show source on GitHub