uranusjr commented on code in PR #30392:
URL: https://github.com/apache/airflow/pull/30392#discussion_r1157326053


##########
airflow/models/serialized_dag.py:
##########
@@ -351,6 +351,21 @@ def get_latest_version_hash(cls, dag_id: str, session: 
Session = None) -> str |
         """
         return session.query(cls.dag_hash).filter(cls.dag_id == 
dag_id).scalar()
 
+    @classmethod
+    @provide_session
+    def get_latest_version_hash_and_updated_datetime(

Review Comment:
   Can we add a `:meta private:` so this stays undocumented? I don’t see how 
this needs to be public interface.
   
   Also the other two are now entirely unused and arguably should be removed, 
but we can’t due to the compatibility policy. Maybe we should deprecate them, 
but that doesn’t need to happen in this PR.



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