You can define task dependencies in Flyte without passing data by using the >> (right shift) operator. For example, in a workflow, you can write: task_a() >> task_b() >> [task_c(), task_d()], which ensures task_a runs before task_b, and task_b runs before both task_c and task_d, even if there is no data passed between them. This chaining only establishes execution order, not data flow. According to the documentation, this is the recommended way to specify dependencies without data transfer between tasks or subworkflows.
Would you like more detail or a code example?
Sources:
-
Flyte Fundamentals: tasks, workflows and launch plans 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.