kaxil commented on a change in pull request #4071: [AIRFLOW-3237] Refactor 
example DAGs
URL: https://github.com/apache/incubator-airflow/pull/4071#discussion_r227292903
 
 

 ##########
 File path: airflow/example_dags/tutorial.py
 ##########
 @@ -95,7 +98,7 @@
     depends_on_past=False,
     bash_command=templated_command,
     params={'my_param': 'Parameter I passed in'},
-    dag=dag)
+    dag=dag,
+)
 
-t2.set_upstream(t1)
-t3.set_upstream(t1)
+t1 >> [t2, t3]
 
 Review comment:
   And this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to