prefect.server.models.task_run_states
Functions for interacting with task run state ORM objects.
Intended for internal use by the Prefect REST API.
Functions
read_task_run_state
session
: A database sessiontask_run_state_id
: a task run state id
- orm_models.TaskRunState: the task state
read_task_run_states
session
: A database sessiontask_run_id
: the task run id
- List[orm_models.TaskRunState]: the task run states
delete_task_run_state
session
: A database sessiontask_run_state_id
: a task run state id
- whether or not the task run state was deleted