deployement_name is not unique in prefect workflow...
# ask-community
p
deployement_name is not unique in prefect workflow ? and even deployement_name + flow_name is also not unique ? So if we made the API on top of this and pass this deployment i want to run named with "next-best-product-finder" then how can i get this only unique deployment ?
b
Hi Prince! Deployment names do not have to be unique across all deployments, but they must be unique for a given flow ID. That's why you'd need to specify `flow_name/deployment_name`when you trigger a deployment. For example, if you want to run a deployment with the python SDK:
run_deployment(name="my-first-flow/my-first-deployment", ...)