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
03/15/2022, 5:32 PMSlava Shor
03/15/2022, 7:47 PMpoetry show prefect
name : prefect
version : 1.1.0
description : The Prefect Core automation and scheduling engine.
Kevin Kho
03/15/2022, 7:54 PMSlava Shor
03/15/2022, 7:58 PMKevin Kho
03/15/2022, 8:01 PMSlava Shor
03/15/2022, 8:02 PMKevin Kho
03/15/2022, 8:06 PMif
, while
, for
inside the Flow block to loop over task resultsSlava Shor
03/15/2022, 8:16 PMKevin Kho
03/15/2022, 8:18 PMSlava Shor
03/15/2022, 8:18 PMKevin Kho
03/15/2022, 8:19 PMSlava Shor
03/15/2022, 8:20 PMKevin Kho
03/15/2022, 8:21 PMflow.executor = LocalDaskExecutor()
. You can see this