kurtqq commented on a change in pull request #5283: [AIRFLOW-4521] Pause dag
also pause its subdags
URL: https://github.com/apache/airflow/pull/5283#discussion_r287563589
##########
File path: airflow/models/dag.py
##########
@@ -1522,3 +1522,46 @@ def create_dagrun(self,
external_trigger=external_trigger,
conf=conf,
session=session)
+
+ @classmethod
+ def _find_dag_ids_including_subdags(cls, dag: DAG):
+ from airflow.operators.subdag_operator import SubDagOperator
Review comment:
Same logic as
https://github.com/apache/airflow/blob/master/airflow/models/dag.py#L1397 I
assume?
----------------------------------------------------------------
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