Skip to content

Update iter_dagrun_infos_between to use next_dagrun_info_v2#61465

Open
dstandish wants to merge 2 commits intoapache:mainfrom
astronomer:try-to-move-iter-dagrun-infos-to-timetable
Open

Update iter_dagrun_infos_between to use next_dagrun_info_v2#61465
dstandish wants to merge 2 commits intoapache:mainfrom
astronomer:try-to-move-iter-dagrun-infos-to-timetable

Conversation

@dstandish
Copy link
Contributor

@dstandish dstandish commented Feb 4, 2026

This is so that it will work for new timetables which implement next_dagrun_info_v2 (which receives DagRunInfo objects instead of data intervals.

I also remove logic that is no longer needed and simplify the function. Some of the logic is leftover from when the align parameter was there (removed in #61420). Without it, the logic can be simplified and condensed, e.g. by not getting an initial info before starting the loop.

@Lee-W Lee-W force-pushed the try-to-move-iter-dagrun-infos-to-timetable branch from 4c7b3d0 to 860d738 Compare February 5, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants