Prab-27 commented on code in PR #57862:
URL: https://github.com/apache/airflow/pull/57862#discussion_r2518372350


##########
airflow-core/src/airflow/utils/sqlalchemy.py:
##########
@@ -390,7 +392,9 @@ def lock_rows(query: Query, session: Session) -> 
Generator[None, None, None]:
 
     :meta private:
     """
-    locked_rows = with_row_locks(query, session)
+    select_stmt = cast("Select", query.statement)

Review Comment:
   Yes, Once #55274 is merged, only Select will remain there—and your mypy will 
be happy.



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