uranusjr commented on pull request #15397: URL: https://github.com/apache/airflow/pull/15397#issuecomment-823397885
`betwewn: TimeRestriction` is a time interval that the next DAG run must be scheduled between, reflecting `start_date` and `end_date` of the DAG and tasks in it. A run cannot be scheduled before the latest `start_date` (must be postponed until then), nor after the earliest `end_date` (must be cancelled). This logic is implemented in `TimeRestriction.restrict()` to adjust the schedule “preferred” by the time table. I’ve actually removed `restrict()` and put the logic inside `next_dagrun_info()` instead (will push shortly) since the restriction logic needs to be slightly different depending on whether the time table is based on a data interval or not. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
