Hi all, quick question on the `prefect.deployments...
# prefect-community
j
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
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
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