Vadym Dytyniak
11/10/2022, 3:01 PMBianca Hoch
11/10/2022, 3:06 PMwith_options
and pass in the parameters you would like displayed in the nameVadym Dytyniak
11/10/2022, 3:10 PMKhuyen Tran
11/10/2022, 4:08 PMwith_options
is only available in API. I wonder if we can add this under Concepts/Tasks? I can work on adding itterrence
11/10/2022, 4:15 PMKhuyen Tran
11/10/2022, 4:20 PMLeonardus Chen
01/27/2023, 3:08 AMtask.map
?
@task
def say_hello(name: str) -> None:
print(name)
This works
names = ["a", "b"]
for name in names:
say_hello.with_options(name=f"say {name}"}
Is it possible to make it work with
names = ["a", "b"]
say_hello.map(names)
Zanie
01/31/2023, 4:37 PM