Replies: 1 comment
-
whether or not a flow is associated with a deployment, if you set the specifying there's an easy way to not need a new @flow
def parent(some_args, workflow_name: str):
workflow.with_options(flow_run_name=workflow_name)(some_args) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the current behavior
Currently, you cannot have a Deployment create a Flow run with a custom name dynamically at execution time.
This must be done through the UI, or programmatically through the use of the CLI/SDK.
Describe the proposed behavior
As a user, I would like to be able to pass a custom flow run name as part of the Prefect Deployment object.
Example Use
prefect.yamlAdditional context
Based on #20262 and a discussion with another customer using the Prefect Prometheus Exporter.
Beta Was this translation helpful? Give feedback.
All reactions