Skip to content

PlanItems

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970869402016["plans.PlanItems"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869402016
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

A plan as structured entries.

Source code in src/aclientp/schema/v2/plans.py
class PlanItems(AnnotatedObject):
    """A plan as structured entries."""

    type: Literal["items"] = Field(default="items", init=False)

    plan_id: PlanId
    """The plan to update."""

    entries: Sequence[PlanEntry]
    """All tasks of the plan; updates send the complete list, which replaces the old one."""

entries instance-attribute

entries: Sequence[PlanEntry]

All tasks of the plan; updates send the complete list, which replaces the old one.

plan_id instance-attribute

plan_id: PlanId

The plan to update.

:fa-brands-github: Show source on GitHub