ephraimbuddy commented on code in PR #45533:
URL: https://github.com/apache/airflow/pull/45533#discussion_r1910117607
##########
airflow/dag_processing/bundles/manager.py:
##########
@@ -64,6 +64,23 @@ def parse_config(self) -> None:
"Bundle config is not a list. Check config value"
" for section `dag_bundles` and key `backends`."
)
+
+ # example dags!
+ if conf.getboolean("core", "LOAD_EXAMPLES"):
+ from airflow import example_dags
+
+ example_dag_folder = next(iter(example_dags.__path__))
+ backends.append(
+ {
+ "name": "example_dags",
Review Comment:
Should we prevent people from having a bundle named example_dags in the
configuration?
--
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]