prefect.server.models.flow_run_states
Functions for interacting with flow run state ORM objects.
Intended for internal use by the Prefect REST API.
Functions
read_flow_run_state
session
: A database sessionflow_run_state_id
: a flow run state id
- orm_models.FlowRunState: the flow state
read_flow_run_states
session
: A database sessionflow_run_id
: the flow run id
- List[orm_models.FlowRunState]: the flow run states
delete_flow_run_state
session
: A database sessionflow_run_state_id
: a flow run state id
- whether or not the flow run state was deleted