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


##########
airflow/models/dag.py:
##########
@@ -858,7 +868,7 @@ def infer_automated_data_interval(self, logical_date: 
datetime) -> DataInterval:
         DO NOT use this method is there is a known data interval.
         """
         timetable_type = type(self.timetable)
-        if issubclass(timetable_type, (NullTimetable, OnceTimetable)):
+        if issubclass(timetable_type, (NullTimetable, OnceTimetable, 
ContinuousTimetable)):

Review Comment:
   This is not needed. The function is designed for older runs created prior to 
Airflow 2.2 (when timetable was introduced), and it should not be possible for 
a `ContinuousTimetable` to reach here.



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