jason810496 commented on code in PR #57102:
URL: https://github.com/apache/airflow/pull/57102#discussion_r2506103822


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_variables.py:
##########
@@ -62,6 +65,8 @@ def create_file_upload(content: dict) -> BytesIO:
 
 @provide_session
 def _create_variables(session) -> None:
+    team = session.query(Team).filter_by(name="test").one()

Review Comment:
   Would it be better to use SQLA 2 syntax `where(...)` instead of `filter_by`?



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