rawwar commented on code in PR #44219:
URL: https://github.com/apache/airflow/pull/44219#discussion_r1850757589
##########
airflow/api_fastapi/core_api/routes/public/dags.py:
##########
@@ -262,7 +262,7 @@ def patch_dags(
session,
)
- dags = session.scalars(dags_select).all()
+ dags = session.scalars(dags_select)
Review Comment:
nvm. I realised what's the issue. all() is required here. Otherwise, we have
to use list(session.scalars(dag_select))
--
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]