Leonardus Chen

01/31/2023, 5:38 PM
Hi everyone, it possible to use a task parameter as task name using
? I know the following works
def say_hello(name: str) -> None:

names = ["a", "b"]
for name in names:
    say_hello.with_options(name=f"say {name}"}
But how do I make it work with mapping?
names = ["a", "b"]
I've asked the question a few days ago in an old thread (, asking it again here to get more attention
👀 2

Hans Lellelid

01/31/2023, 8:13 PM
I've also wondered this; we have a
process_datasource(ds_name, other_params)
that we map over a calculated list of applicable datasources (less than 12); it would be wonderful to have the task names include this value from an observability perspective.