pierrejeambrun commented on code in PR #47817:
URL: https://github.com/apache/airflow/pull/47817#discussion_r1999354313


##########
tests/api_fastapi/core_api/routes/public/test_dag_run.py:
##########
@@ -931,6 +932,13 @@ def test_patch_dag_run(self, test_client, dag_id, run_id, 
patch_body, response_b
         assert body["dag_run_id"] == run_id
         assert body.get("state") == response_body.get("state")
         assert body.get("note") == response_body.get("note")
+        user_id = (
+            session.query(DagRunNote)
+            .join(DagRun, DagRunNote.dag_run_id == DagRun.id)

Review Comment:
   In query context it most likely work because of the implicit join on the 
`DagRun` table via the relationship.



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