Is it possible to loop through a dyamically created list and do a series of tasks on each item in the list? Like: for item in list: task1, task2, task3?
k
Kevin Kho
07/27/2021, 7:18 PM
Hey @Jelle Vegter, so if the list is known ahead of time, you can map and chain the map operations. But if the list is not known ahead of time, you need to do something like task looping, but it wouldn’t be like task1, task2, or task3. You’d have to call these tasks inside the loop, which means you’d have to do
task1.run()
,
task2.run()
and you wont get stuff like retires/observability.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.