GitHub user potiuk added a comment to the discussion: Conditional ignoring of 
directories from parsing in airflow

Look 
https://airflow.apache.org/docs/apache-airflow/3.1.7/core-concepts/dags.html#airflowignore
 -> the glob syntax actually allows you to negate patterns (in Airflow 3) - 
similar to .gitignore and effectively implement allowlist. We use it in 
airflow's .dockerignore for example 
https://github.com/apache/airflow/blob/main/.dockerignore and you can use 
similar patterns.

This is standard way how you imlement in glob `.*ignore` files.

GitHub link: 
https://github.com/apache/airflow/discussions/61514#discussioncomment-15719054

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to