jscheffl commented on code in PR #57320:
URL: https://github.com/apache/airflow/pull/57320#discussion_r2484537929
##########
airflow-core/src/airflow/dag_processing/dagbag.py:
##########
@@ -618,12 +618,12 @@ def collect_dags(
files_to_parse = list_py_file_paths(dag_folder, safe_mode=safe_mode)
- if include_examples:
- from airflow import example_dags
+ # if include_examples:
Review Comment:
Even if it sfeels hard - I assume this is the core thing to remove.
I assume this is a victim of the surgery but later all Dags will be loaded
from standard provider directly.
If there are legacy side effects we need to clean them up. So you are doing
the "right" thing.
(And please remove commented-out code :-D before merge)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]