[ 
https://issues.apache.org/jira/browse/AIRFLOW-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490119#comment-16490119
 ] 

Ruslan Sivak commented on AIRFLOW-1022:
---------------------------------------

This is marked as an easy fix.  Why hasn't it been done in over a year?   

I am running into this problem now as well - there is no way to pass something 
from a task into a subdag.  

> Subdag can't receive templated fields
> -------------------------------------
>
>                 Key: AIRFLOW-1022
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1022
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: subdag
>            Reporter: Marcos Takahashi
>            Priority: Major
>              Labels: easyfix
>
> Subdag's can't receive any templated fields as the Operator is setted as 
> tuple() 
> (https://github.com/apache/incubator-airflow/blob/master/airflow/operators/subdag_operator.py#L24)
>  instead of any other templated dict like on PythonOperator 
> (https://github.com/apache/incubator-airflow/blob/master/airflow/operators/python_operator.py#L52).
> That makes impossible on getting some important values like execution_date.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to