Patouche opened a new pull request #4677: [AIRFLOW-3801] Fix DagBag collect dags invocation to prevent examples… URL: https://github.com/apache/airflow/pull/4677 I closed the PR #4645 in favor of this one to set the correct base branch. ### Jira - [X] My PR addresses the following [Airflow Jira](https://issues.apache.org/jira/browse/AIRFLOW-3801) issues and references them in the PR title. - https://issues.apache.org/jira/browse/AIRFLOW-3801 ### Description - Fix in DagBag init method the`include_examples` parameters which was not use properly. ### Tests - [X] tests.models.DagBagTest#test_dont_load_example : When the parameter `include_examples` is set to false on a empty dags folder, this validate that the dagbag is empty. ### Documentation - N/A ### Code Quality - [X] Passes `flake8`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
