Hi community, I notice the schedule flow runs come with funny names (e.g. melodic-donkey). Is it pos...
d
Hi community, I notice the schedule flow runs come with funny names (e.g. melodic-donkey). Is it possible to template the flow run names? Looked through the docs but it's not mentioned anywhere.
j
Hi @Dan Zhao - you can use the RenameFlowRun task: https://docs.prefect.io/api/latest/tasks/prefect.html#renameflowrun
👍 1
z
do you consider provide the
run_name
for this case?
Copy code
with Flow('foo-flow', run_name='foo-{today}') as flow:
    foo_task.map(args)
that would be more readable and easily recognized than adding a rename task.🥺