jscheffl commented on code in PR #57320:
URL: https://github.com/apache/airflow/pull/57320#discussion_r2484516050


##########
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:
   Also some providers are nested one level down, like "common/sql" - so most 
probably via providers_manager we can discover the path/module name where 
stored... and if not we might need to extend provider.yaml to explicitly mark 
if examples are available.



-- 
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]

Reply via email to