[ https://issues.apache.org/jira/browse/AIRFLOW-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao-Han Tsai updated AIRFLOW-4941: ----------------------------------- Description: When the DAG is set to the task via [setter|https://github.com/apache/airflow/blob/526c65a57204022596fb69e9478c5515ad0b880e/airflow/models/baseoperator.py#L501], `default_args` won't be applied to the task. Adding a warning message to let user know about that. (was: When the DAG is set to the task via [setter|https://github.com/apache/airflow/blob/526c65a57204022596fb69e9478c5515ad0b880e/airflow/models/baseoperator.py#L501], `default_args` won't be applied to the task) > default_args not applied when dag is assigned to task through setter > -------------------------------------------------------------------- > > Key: AIRFLOW-4941 > URL: https://issues.apache.org/jira/browse/AIRFLOW-4941 > Project: Apache Airflow > Issue Type: Bug > Components: operators > Affects Versions: 1.10.4 > Reporter: Chao-Han Tsai > Assignee: Chao-Han Tsai > Priority: Major > > When the DAG is set to the task via > [setter|https://github.com/apache/airflow/blob/526c65a57204022596fb69e9478c5515ad0b880e/airflow/models/baseoperator.py#L501], > `default_args` won't be applied to the task. Adding a warning message to let > user know about that. -- This message was sent by Atlassian JIRA (v7.6.14#76016)