phanikumv commented on code in PR #32645:
URL: https://github.com/apache/airflow/pull/32645#discussion_r1269760272


##########
airflow/models/serialized_dag.py:
##########
@@ -350,7 +347,7 @@ def get_max_last_updated_datetime(cls, session: Session = 
NEW_SESSION) -> dateti
 
         :param session: ORM Session
         """
-        return session.query(func.max(cls.last_updated)).scalar()
+        return session.scalar(func.max(cls.last_updated))

Review Comment:
   works without select, however changed it as per your suggestion



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