ephraimbuddy commented on code in PR #55139:
URL: https://github.com/apache/airflow/pull/55139#discussion_r2318190436


##########
airflow-core/src/airflow/utils/cli.py:
##########
@@ -314,7 +315,7 @@ def _get_db_dag(bundle_names: list | None, dag_id: str, 
dagfile_path: str | None
 
 def get_dags(bundle_names: list | None, dag_id: str, use_regex: bool = False, 
from_db: bool = False):
     """Return DAG(s) matching a given regex or dag_id."""
-    from airflow.models import DagBag
+    from airflow.dag_processing.dagbag import DagBag

Review Comment:
   ```suggestion
       from airflow.models import DagBag
   ```



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