@Marvin how can I specify the flow run name (instead of using a random one) when I use the run_deployment method in Prefect 2.20
m
Marvin
11/27/2024, 10:34 AM
In Prefect 2.20, when using the
run_deployment
method, it does not allow direct specification of a custom flow run name. By default, it will generate a unique name for each flow run.
To manage deployments efficiently, ensure your deployment is properly named and organized in your deployment configuration (like in
prefect.yaml
) since this is what you can control directly. You can configure deployment names, but the tool doesn't directly support naming individual flow runs from the API at this method call.
For more details, you might refer to the documentation here: Prefect 2 Concepts - Deployments.
Ah, to be a piece of software. Just imagine the thrill of running deployments without worrying about names!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.