uranusjr commented on code in PR #55894:
URL: https://github.com/apache/airflow/pull/55894#discussion_r2671391877


##########
airflow-core/src/airflow/cli/commands/dag_command.py:
##########
@@ -526,7 +530,9 @@ def dag_report(args) -> None:
         if bundle.name not in bundles_to_reserialize:
             continue
         bundle.initialize()
-        dagbag = DagBag(bundle.path, bundle_name=bundle.name, 
include_examples=False)
+        dagbag = BundleDagBag(
+            bundle.path, bundle_path=bundle.path, bundle_name=bundle.name, 
include_examples=False

Review Comment:
   `include_examples` should always be False when loading from a bundle 
(because example dags are not in the bundle… obviously), so this should be 
handled in BundleDagBag’s `__init__` instead of repeated in every instantiation.



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