airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [airflow] feluelle commented on a change in pull request #6352: [AIRFLOW-5683] Add propagate_skipped_state to SubDagOperator
Date Thu, 31 Oct 2019 11:24:16 GMT
feluelle commented on a change in pull request #6352: [AIRFLOW-5683] Add propagate_skipped_state
to SubDagOperator
URL: https://github.com/apache/airflow/pull/6352#discussion_r341083815
 
 

 ##########
 File path: airflow/operators/subdag_operator.py
 ##########
 @@ -44,47 +56,58 @@ class SubDagOperator(BaseSensorOperator):
 
     :param subdag: the DAG object to run as a subdag of the current DAG.
     :param session: sqlalchemy session
+    :param propagate_skipped_state: by setting this argument you can define
+        whether the skipped state of leaf tasks should be propagated to the parent dags downstream
task.
+        Available options are:
+        * ``'all_leaves'``: which means it will only propagate the skipped state
+            if all leaf tasks are skipped.
+        * ``'any_leaf'``: which means it will only propagate the skipped state
+            if any task is skipped.
+        * ``None``: which means it won't propagate the skipped state at all.
+
 
 Review comment:
   I am going to remove this part since I added an enumeration.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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