server.web.schemas.task_concurrency
Pydantic schemas for Task Concurrency Timeline endpoints.
Classes
Response model for task concurrency timeline. |
|
A single task status audit record. |
|
Response model for task status audit records. |
|
Response model for workflow task templates list. |
|
One row in the timeline — a single task template's event series. |
|
Response for template execution timeline. |
Module Contents
- class server.web.schemas.task_concurrency.TaskConcurrencyResponse
Bases:
pydantic.BaseModelResponse model for task concurrency timeline.
Contains time-bucketed concurrent task counts grouped by status, with optional template breakdown for hover details.
- class server.web.schemas.task_concurrency.TaskStatusAuditRecord
Bases:
pydantic.BaseModelA single task status audit record.
- class server.web.schemas.task_concurrency.TaskStatusAuditResponse
Bases:
pydantic.BaseModelResponse model for task status audit records.
- audit_records: List[TaskStatusAuditRecord]
- class server.web.schemas.task_concurrency.WorkflowTaskTemplatesResponse
Bases:
pydantic.BaseModelResponse model for workflow task templates list.
- class server.web.schemas.task_concurrency.TemplateTimelineRow
Bases:
pydantic.BaseModelOne row in the timeline — a single task template’s event series.
Each entry in
timestampsmarks an actual status transition; the corresponding index in eachserieslist gives the number of tasks in that status immediately after the transition.
- class server.web.schemas.task_concurrency.TemplateTimelineResponse
Bases:
pydantic.BaseModelResponse for template execution timeline.
Each template carries its own
timestampsarray (the moments where any task in the template changed status) together with per-status counts, suitable for rendering as a continuous stacked area chart.- templates: List[TemplateTimelineRow]