Last active
December 25, 2018 19:07
-
-
Save kaxil/e45e07eadf8dbfc77157c56a8dc95b81 to your computer and use it in GitHub Desktop.
Using List to set Airflow Task Dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setting task dependencies (the NORMAL way) | |
task_one >> task_two | |
task_two >> task_two_1 >> end | |
task_two >> task_two_2 >> end | |
task_two >> task_two_3 >> end | |
# Using Lists (being a PRO :-D ) | |
task_one >> task_two >> [task_two_1, task_two_2, task_two_3] >> end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment