prefect.server.schemas.responses
Schemas for special responses from the Prefect REST API.
Classes
SetStateStatus
Enumerates return statuses for setting run states.
Methods:
auto
enum.auto() to avoid requiring a second import to use AutoEnum
StateAcceptDetails
Details associated with an ACCEPT state transition.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
StateRejectDetails
Details associated with a REJECT state transition.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
StateAbortDetails
Details associated with an ABORT state transition.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
StateWaitDetails
Details associated with a WAIT state transition.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
HistoryResponseState
Represents a single state’s history over an interval.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
HistoryResponse
Represents a history of aggregation states over an interval
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
validate_timestamps
OrchestrationResult
A container for the output of state orchestration.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
WorkerFlowRunResponse
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
FlowRunResponse
Methods:
model_validate
TaskRunResponse
DeploymentResponse
Methods:
model_validate
WorkQueueResponse
Methods:
model_validate
WorkQueueWithStatus
Combines a work queue and its status details into a single object
Methods:
model_validate
WorkerResponse
Methods:
model_validate
GlobalConcurrencyLimitResponse
A response object for global concurrency limits.
FlowPaginationResponse
FlowRunPaginationResponse
TaskRunPaginationResponse
DeploymentPaginationResponse
SchemaValuePropertyError
SchemaValueIndexError
SchemaValuesValidationResponse
FlowRunBulkDeleteResponse
Response from bulk flow run deletion.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
DeploymentBulkDeleteResponse
Response from bulk deployment deletion.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
FlowBulkDeleteResponse
Response from bulk flow deletion.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
FlowRunOrchestrationResult
Per-run result for bulk state operations.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
FlowRunBulkSetStateResponse
Response from bulk set state operation.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
FlowRunCreateResult
Per-run result for bulk create operations.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.
FlowRunBulkCreateResponse
Response from bulk flow run creation.
Methods:
model_validate_list
reset_fields
_reset_fields set.
Returns:
- A new instance of the model with the reset fields.