Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dag = DAG('dummy_for_testing', default_args=default_args)
- t1 = BashOperator(
- task_id='print_task1',
- bash_command='task1.py',
- dag=dag)
- t2 = BashOperator(
- task_id='print_task2',
- bash_command='task2.py',
- dag=dag)
- t3 = BashOperator(
- task_id='print_task3',
- bash_command='task3.py',
- dag=dag)
- t1 >> t2 >> t3
Add Comment
Please, Sign In to add comment