You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Maxence Cramet (Jira)" <ji...@apache.org> on 2020/01/23 14:00:04 UTC
[jira] [Created] (AIRFLOW-6622) Airflow not updating
functions/classes imported
Maxence Cramet created AIRFLOW-6622:
---------------------------------------
Summary: Airflow not updating functions/classes imported
Key: AIRFLOW-6622
URL: https://issues.apache.org/jira/browse/AIRFLOW-6622
Project: Apache Airflow
Issue Type: Bug
Components: DAG
Affects Versions: 1.10.6
Reporter: Maxence Cramet
I have two python files:
dag.py:
from utils import my_function
# use my function in some way
...
{{}}
utils.py:
def my_function(arg1):
# doing something
...
{{}}
It's working properly but if I change the code in my_function it's not updated in the DAG the old code is still used.
The only work around I've found is to rename utils to utils_v2 to force the update, but it's not ideal...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)