mik-laj opened a new issue #9413:
URL: https://github.com/apache/airflow/issues/9413


   Hello,
   
   Airflow has a mechanism to ignore files before they are automatically loaded 
by Airflow using a .airflowignore file.
   A .airflowignore file specifies the directories or files in DAG_FOLDER that 
Airflow should intentionally ignore.
   
   > For example, you can prepare a .airflowignore file with contents
   > ```
   > project_a
   > tenant_[\d]
   > ```
   > Then files like project_a_dag_1.py, TESTING_project_a.py, tenant_1.py, 
project_a/dag_1.py, and tenant_1/dag_1.py in your DAG_FOLDER would be ignored 
(If a directory’s name matches any of the patterns, this directory and all its 
subfolders would not be scanned by Airflow at all. This improves efficiency of 
DAG finding).
   
   More information: 
https://airflow.readthedocs.io/en/latest/concepts.html?highlight=airflowignore
   
   It would be helpful to make a similar feature available to plugins. This 
improves the efficiency of plugins finding. 
   
   Cheers
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to