You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Patrick McKenna (JIRA)" <ji...@apache.org> on 2017/03/14 20:46:41 UTC
[jira] [Created] (AIRFLOW-984) Subdags unrecognized when
subclassing SubDagOperator
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)