Can I call a task from within another task? Is this allowed? Bad style? No problem at all? Any caveats?
I suppose its problematic because this could take the A out of DAG…
i
itay livni
07/22/2020, 2:10 PM
Yes you can. But the task inside will not show up in the DAG. Is it bad style? Not sure.
also if it's a set of complex mapped tasks look at
apply_map
s
Sven Teresniak
07/22/2020, 2:15 PM
Naaa, its more of a "if A then do g(f()) else f()" situation. But i can rewrite it to work with return values and