https://prefect.io logo
l

liej6799

07/25/2023, 3:05 PM
I also checked that it is possible to run the deployment from rest api, but i think its hard to pass paramater for it. unless someone can have the example 🙂
✅ 1
j

Jake Kaplan

07/25/2023, 3:16 PM
👋 if you want to run a deployment directly you can use
run_deployment()
https://docs.prefect.io/2.11.0/concepts/deployments/?h=run_deployment#create-a-flow-run-in-a-python-script
that function wraps the call to
POST - /create_flow_run_from_deployment
l

liej6799

07/25/2023, 3:36 PM
ok ill try that and see, thanks