Slava Shor
03/15/2022, 5:28 PMTypeError: Task is not iterable
exception.
@task(timeout=timedelta(seconds=30))
def fetch_symbols(...) -> tuple[MyCustomType, ...]:
...
Kevin Kho
Kevin Kho
Slava Shor
03/15/2022, 7:47 PMpoetry show prefect
name : prefect
version : 1.1.0
description : The Prefect Core automation and scheduling engine.
Slava Shor
03/15/2022, 7:48 PMSlava Shor
03/15/2022, 7:50 PMKevin Kho
Slava Shor
03/15/2022, 7:58 PMKevin Kho
Slava Shor
03/15/2022, 8:02 PMKevin Kho
if
, while
, for
inside the Flow block to loop over task resultsSlava Shor
03/15/2022, 8:16 PMKevin Kho
Slava Shor
03/15/2022, 8:18 PMKevin Kho
Slava Shor
03/15/2022, 8:20 PMKevin Kho
flow.executor = LocalDaskExecutor()
. You can see thisKevin Kho