uranusjr commented on code in PR #32177:
URL: https://github.com/apache/airflow/pull/32177#discussion_r1244647907
##########
airflow/utils/db.py:
##########
@@ -1304,10 +1306,10 @@ def _dangling_against_task_instance(session,
source_table, dag_run, task_instanc
)
return (
- session.query(*[c.label(c.name) for c in source_table.c])
+ select(*[c.label(c.name) for c in source_table.c])
Review Comment:
Let’s also change this to `select(*(...))` (in the other planned PR). There
are several of these around in this file too.
--
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]