airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] xnuinside commented on a change in pull request #4191: [AIRFLOW-3350] Explain how to use Bitshift Composition with lists
Date Thu, 15 Nov 2018 12:25:20 GMT
xnuinside commented on a change in pull request #4191: [AIRFLOW-3350] Explain how to use Bitshift
Composition with lists
URL: https://github.com/apache/incubator-airflow/pull/4191#discussion_r233822057
 
 

 ##########
 File path: docs/concepts.rst
 ##########
 @@ -240,6 +240,19 @@ We can put this all together to build a simple pipeline:
                 python_callable=lambda: print("GOODBYE!"))
         )
 
+Bitshift can also be used with lists. For example:
+
+.. code:: python
+
+    op1 >> [op2, op3]
+
+is equivalent to:
+
+.. code:: python
+
+    op1.set_downstream(op2)
 
 Review comment:
   @xnuinside yes, but need to squash commits in one, and this will re-trigger Travis, so
maybe we will have green build 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message