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:
[email protected]
With regards,
Apache Git Services