https://prefect.io logo
k

Kevin Schaper

04/07/2022, 6:46 PM
Does Orion support dynamic task naming yet? I tried the
@task(name="{val}")
syntax, but it didn’t look like the templating syntax was getting interpreted. (I would up with “{val}” in all of my task names)
a

Andrew Huang

04/07/2022, 6:50 PM
I think something like
Copy code
your_task(*args, **kwargs)

# update to this
your_task.with_options(name=val)(*args, **kwargs)
🙏 1
upvote 1
7 Views