Taragolis commented on code in PR #37761: URL: https://github.com/apache/airflow/pull/37761#discussion_r1505178664
########## airflow/models/xcom.py: ########## @@ -509,40 +513,40 @@ def get_many( message = "Passing 'execution_date' to 'XCom.get_many()' is deprecated. Use 'run_id' instead." warnings.warn(message, RemovedInAirflow3Warning, stacklevel=3) - query = session.query(BaseXCom).join(BaseXCom.dag_run) + query = select(BaseXCom).join(BaseXCom.dag_run) Review Comment: one small suggestion, if it possible could you rename variable `query` to `stmt` it would make it a bit easier to found is we migrate this or not when look at the code -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org