cayu.tasks.TaskStatusCounts
Part of cayu.tasks.base. Read the Python API overview and install the required extra.
from cayu.tasks import TaskStatusCountsComplete current-task counts for every lifecycle status.
Bases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”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) |
waiting_dependencies |
AggregateCount |
Field(default=0, ge=0) |
waiting_group |
AggregateCount |
Field(default=0, ge=0) |
dependency_skipped |
AggregateCount |
Field(default=0, ge=0) |
claimed |
AggregateCount |
Field(ge=0) |
running |
AggregateCount |
Field(ge=0) |
paused |
AggregateCount |
Field(ge=0) |
blocked |
AggregateCount |
Field(ge=0) |
needs_attention |
AggregateCount |
Field(ge=0) |
completed |
AggregateCount |
Field(ge=0) |
failed |
AggregateCount |
Field(ge=0) |
cancelled |
AggregateCount |
Field(ge=0) |