Joe Uhm
03/28/2024, 3:55 PMNate
03/28/2024, 3:59 PMrun_deployment
now
from prefect.deployments import run_deployment
# if we have some-flow/some-deployment already created
flow_run = run_deployment("some-flow/some-deployment", parameters={"foo": 42})
# pass timeout=0 to avoid waiting for the flow run to complete as the caller
Joe Uhm
03/28/2024, 4:02 PMJoe Uhm
03/28/2024, 4:03 PMJoe Uhm
03/28/2024, 4:07 PMJoe Uhm
03/28/2024, 4:13 PMJoe Uhm
03/28/2024, 4:14 PM