Lee-W commented on code in PR #59115:
URL: https://github.com/apache/airflow/pull/59115#discussion_r2744977350


##########
airflow-core/src/airflow/timetables/trigger.py:
##########
@@ -338,8 +349,200 @@ def _dagrun_info_sort_key_no_catchup(info: DagRunInfo | 
None, *, now: float) ->
         order values by ``-logical_date`` if they are earlier than or at 
current
         time, but ``+logical_date`` if later.
         """
-        if info is None:
+        if info is None or info.logical_date is None:
             return math.inf
         if (ts := info.logical_date.timestamp()) <= now:
             return -ts
         return ts
+
+
+class CronPartitionTimetable(CronTriggerTimetable):

Review Comment:
   https://github.com/apache/airflow/issues/61241



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