Skip to content

How to handle __pycache__ in dags folder? #26720

Answered by Taragolis
mertozb asked this question in General
Discussion options

You must be logged in to vote
  1. Airflow Webserver do not use dag folder at all since Airflow 2, see: https://airflow.apache.org/docs/apache-airflow/stable/dag-serialization.html
  2. __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.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Taragolis
Comment options

@potiuk
Comment options

potiuk Sep 27, 2022
Collaborator

@Taragolis
Comment options

@mertozb
Comment options

@mertozb
Comment options

Answer selected by mertozb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants