https://prefect.io logo
Title
j

John-Craig Borman

01/11/2023, 2:30 PM
Hi all, quick question on the
prefect.deployments.run_deployment()
function: If I deploy a flow without specifying a deployment name, how can I use
run_deployment()
to trigger a flow run? Would it just be
run_deployment(name='flow_name')
? related docs: https://docs.prefect.io/concepts/deployments/#create-a-flow-run-in-a-python-script
c

Christopher Boyd

01/11/2023, 2:36 PM
What are you looking to do? I’m not sure I understand the problem here - you want to run a deployment, without a deployment name?
j

John-Craig Borman

01/11/2023, 3:36 PM
Ah my apologies, I think my issue lies within an internal piece of code that we use to
deploy()
flows, I see that the
Deployment.name
field is required