Join Slack
Powered by
Is there a prefect 2 equivalent to template task n...
# ask-community
b
Blake Hamm
08/16/2022, 6:16 PM
Is there a prefect 2 equivalent to template task names? I've searched high and low on the prefect 2 docs/slack and can't find anything. old docs:
https://docs-v1.prefect.io/core/concepts/templating.html#templating-names
Blake Hamm
08/16/2022, 6:18 PM
It seems like it is feasible with this:
https://docs.prefect.io/api-ref/prefect/tasks/#prefect.tasks.Task.with_options
. Is this the only option (pardon the pun)? 😆
a
Anna Geller
08/16/2022, 7:17 PM
hahaha good one
Anna Geller
08/16/2022, 7:17 PM
yeah that's the only "option" as of now and well-done finding it
👍 1
Anna Geller
08/16/2022, 7:18 PM
here is a great example from Andrew
https://discourse.prefect.io/t/how-to-display-more-descriptive-task-run-names-in-the-radar-view-ui/1146
🙌 1
4
Views
Open in Slack
Previous
Next