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


##########
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/grid.py:
##########
@@ -161,14 +161,15 @@ def get_dag_structure(
 
     serdags = session.scalars(
         select(SerializedDagModel).where(
+            SerializedDagModel.dag_id == dag_id,

Review Comment:
   Let’s add a comment here. From a quick look some may feel this is not needed 
since dag_id is already filtered in base_query (line 140).



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