Guest User

Untitled

a guest
Jun 25th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. dag = DAG('dummy_for_testing', default_args=default_args)
  2.  
  3. t1 = BashOperator(
  4. task_id='print_task1',
  5. bash_command='task1.py',
  6. dag=dag)
  7.  
  8. t2 = BashOperator(
  9. task_id='print_task2',
  10. bash_command='task2.py',
  11. dag=dag)
  12.  
  13. t3 = BashOperator(
  14. task_id='print_task3',
  15. bash_command='task3.py',
  16. dag=dag)
  17.  
  18. t1 >> t2 >> t3
Add Comment
Please, Sign In to add comment