I need to run the following graph on Apache Airflow, but I'm having issue with the parallel steps because they have multiple substeps
------> task_1a --> tast_1b --- ------> task_4a --> tast_4b ---
/ \ / \
Start ---------> task_2a --> tast_2b --------> Step ---------> task_5a --> tast_5b --------> End
\ / \ /
------> task_3a --> tast_3b --- ------> task_6a --> tast_6b ---
I'm trying to generate the task_1a >> task_1b blocks in a separate function, but the code would translate roughly to this:
start >>
[tast_1a >> task_1b, tast_2a >> task_2b, tast_3a >> task_3b] >> \
step >>
[tast_4a >> task_4b, tast_5a >> task_5b, tast_6a >> task_6b] >> \
end
The "step" is a DummyOperator to allow two parallel groups to execute in order.
What happens is that I get this (I'm just showing the 1st element of each parallel group for simplicity)
task_1a task_4a
\ \
Start ---> task_1b ---> Step ---> task_4b ---> End
Because when I do task_1a >> task_1b, the return value of this operation is task_1b and start connects to it directly while the task_1a is orphaned. If I try to run this operation beforehand and pass task_1a to the list, then "step" is triggered at the same time as task_1b.
How do I solve this?

