Skip to content

cayu.sessions.SessionStatusCounts

Part of cayu.sessions.base. Read the Python API overview and install the required extra.

from cayu.sessions import SessionStatusCounts

Complete current-session counts for every lifecycle status.

Bases: BaseModel.

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
pending AggregateCount Field(ge=0)
running AggregateCount Field(ge=0)
interrupting AggregateCount Field(ge=0)
completed AggregateCount Field(ge=0)
failed AggregateCount Field(ge=0)
interrupted AggregateCount Field(ge=0)

Release source · Runtime guarantees · Capability guides