prefect.flow_engine
Functions
load_flow_run
load_flow
load_flow_and_flow_run
send_heartbeats_sync
engine: The FlowRunEngine instance to emit heartbeats for.
send_heartbeats_async
engine: The AsyncFlowRunEngine instance to emit heartbeats for.
run_flow_sync
run_flow_async
run_generator_flow_sync
run_generator_flow_async
run_flow
run_flow_in_subprocess
flow: The flow to run.flow_run: The flow run object containing run metadata.parameters: The parameters to use when invoking the flow.wait_for: The futures to wait for before starting the flow.context: A serialized context to hydrate before running the flow. If not provided, the current context will be used. A serialized context should be provided if this function is called in a separate memory space from the parent run (e.g. in a subprocess or on another machine).env: Additional environment variables to set in the subprocess.
- A multiprocessing.context.SpawnProcess representing the process that is running the flow.