Learn how to trigger deployment runs using the Prefect CLI and Python SDK.
serve
or a worker) listening for scheduled runs of that deploymentrun_deployment
function for programmatic control:
run_deployment
from within another flow will be treated as a subflow of the parent flow in the UI. To disable this, set as_subflow=False
.run_deployment
function as a coroutine: