You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/05/25 15:04:57 UTC

[GitHub] [airflow] milton0825 commented on a change in pull request #5283: [AIRFLOW-4521] Pause dag also pause its subdags

milton0825 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_r287565751
 
 

 ##########
 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:
   @kaxil this is to [avoid circular import](https://stackabuse.com/python-circular-imports/) and I added a comment.

----------------------------------------------------------------
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