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


##########
airflow/cli/commands/dag_command.py:
##########
@@ -362,15 +374,16 @@ def dag_list_dags(args) -> None:
             "For details, run `airflow dags list-import-errors`",
             file=sys.stderr,
         )
+
+    def get_dag_detail(dag: DAG) -> dict:
+        dag_model = DagModel.get_dagmodel(dag.dag_id, session=session)

Review Comment:
   `get_dagmodel` can return none. This introduced a bug



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to