Patrick McKenna created AIRFLOW-984:
---------------------------------------

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


If a user subclasses SubDagOperator, the parent DAG will not pick up the 
subdags:

https://github.com/jlowin/airflow/blob/44fcabc36048cd6e80660fc023afce85e3d435a0/airflow/models.py#L2969

which means a DagBag won't find them:

https://github.com/jlowin/airflow/blob/44fcabc36048cd6e80660fc023afce85e3d435a0/airflow/models.py#L311
https://github.com/jlowin/airflow/blob/44fcabc36048cd6e80660fc023afce85e3d435a0/airflow/models.py#L365

This PR appears to be the culprit: 
https://github.com/apache/incubator-airflow/pull/1196/files.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to