Hello! Quick question: is there an equivalent for ...
# prefect-community
t
Hello! Quick question: is there an equivalent for task_run_name in Prefect 2.0?
1
a
You can do
my_task.with_options(name="my new name")(arg, arg)
in your flow
gratitude thank you 2
🙌 1
p
Can you still use templating in the
@task
decorator to set the name at run time?
a
no, this syntax is when you call it from flow