[ https://issues.apache.org/jira/browse/AIRFLOW-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremiah Lowin resolved AIRFLOW-984. ------------------------------------ Resolution: Fixed Fix Version/s: 1.9.0 Issue resolved by pull request #2152 [https://github.com/apache/incubator-airflow/pull/2152] > Subdags unrecognized when subclassing SubDagOperator > ---------------------------------------------------- > > Key: AIRFLOW-984 > URL: https://issues.apache.org/jira/browse/AIRFLOW-984 > Project: Apache Airflow > Issue Type: Bug > Reporter: Patrick McKenna > Priority: Minor > Fix For: 1.9.0 > > > If a user subclasses SubDagOperator, the parent DAG will not pick up the > subdags: > https://github.com/apache/incubator-airflow/blob/c44e2009ee625ce4a82c50e585a3c8617d9b4ff8/airflow/models.py#L2974 > which means a DagBag won't find them: > https://github.com/apache/incubator-airflow/blob/c44e2009ee625ce4a82c50e585a3c8617d9b4ff8/airflow/models.py#L311 > https://github.com/apache/incubator-airflow/blob/c44e2009ee625ce4a82c50e585a3c8617d9b4ff8/airflow/models.py#L365 > This PR appears to be the cause: > https://github.com/apache/incubator-airflow/pull/1196/files. -- This message was sent by Atlassian JIRA (v6.3.15#6346)