Good day all, I’m puzzled by the `task_run_name` ...
# ask-community
a
Good day all, I’m puzzled by the
task_run_name
and
flow_run_name
documentation. The docs say
task_run_name: An optional name to distinguish runs of this task; this name can be provided as a string template with the task’s keyword arguments as variables, or a function that returns a string.
But in testing, I can see positional parameters work just as well. I’d want to use positional arguments, because the keyword args connote optionality… and the values I’m passing in are not optional. Can I just YOLO this and assume positional arguments will also work in the future?
n
hi @Antti Rasinen - I would have no reason to expect that the behavior here for positional arguments would change! I think you should be fine to yolo this
a
Thanks, that’s good to know
riding into sunset