jscheffl commented on code in PR #57320:
URL: https://github.com/apache/airflow/pull/57320#discussion_r2484512255
##########
airflow-core/src/airflow/dag_processing/bundles/manager.py:
##########
@@ -106,6 +107,24 @@ def _add_example_dag_bundle(bundle_config_list:
list[_ExternalBundleConfig]):
)
+def _add_provider_example_dags_to_bundle(bundle_config_list:
list[_ExternalBundleConfig]):
+ from airflow import providers
+
+ for provider_path in providers.__path__:
Review Comment:
THat is a good approach but I assume we need to make a lookup to all
providers via plugins_manager. There could also be (in theory) providers not
coming from Apache Airflow and they might reside in other hierarchy outside of
"airflow" package
--
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]