-
When i changed some of my config in dag like owner or dag_id Airflow webserver tries to import from pycache in DAG's folder. However, It needs to depend on the original dag.py . Not sure but seeing the logs, i think it may happens when it can't import the original file, this happens like 4 of 20 catchup runs, i dont know if theres some threshold limitations on that like if cant import at x second try the cached dags. Now i fixed it with cleaning the cache but not sure if this happens gradually of increasing use of Airflow 2.4 |
Beta Was this translation helpful? Give feedback.
Answered by
Taragolis
Sep 27, 2022
Replies: 1 comment 7 replies
-
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
mertozb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
__pycache__
it is internal of Python, see: https://peps.python.org/pep-3147/ . Python should recompile byte-codes files (.pyc
) in case of changing in.py
files.