[jira] [Updated] (AIRFLOW-1704) If the subdag is defined as a local variable, its variable is_subdag is False.

2017-10-11 Thread Shintaro Murakami (JIRA)

 [ 
https://issues.apache.org/jira/browse/AIRFLOW-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shintaro Murakami updated AIRFLOW-1704:
---
Attachment: dags.png
tree.png

> If the subdag is defined as a local variable, its variable is_subdag is False.
> --
>
> Key: AIRFLOW-1704
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1704
> Project: Apache Airflow
>  Issue Type: Bug
>  Components: models
>Reporter: Shintaro Murakami
> Attachments: dags.png, test_subdag_local_variable.py, tree.png
>
>
> If the subdag is defined as a local variable in DAG definition code, its 
> variable is_subdag is False.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AIRFLOW-1704) If the subdag is defined as a local variable, its variable is_subdag is False.

2017-10-11 Thread Shintaro Murakami (JIRA)

 [ 
https://issues.apache.org/jira/browse/AIRFLOW-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shintaro Murakami updated AIRFLOW-1704:
---
Attachment: test_subdag_local_variable.py

DAG definition for reproducing

> If the subdag is defined as a local variable, its variable is_subdag is False.
> --
>
> Key: AIRFLOW-1704
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1704
> Project: Apache Airflow
>  Issue Type: Bug
>  Components: models
>Reporter: Shintaro Murakami
> Attachments: test_subdag_local_variable.py
>
>
> If the subdag is defined as a local variable in DAG definition code, its 
> variable is_subdag is False.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)