vatsrahul1001 commented on code in PR #46017:
URL: https://github.com/apache/airflow/pull/46017#discussion_r1943348920
##########
airflow/models/backfill.py:
##########
@@ -215,6 +223,8 @@ def _validate_backfill_params(dag, reverse,
reprocess_behavior: ReprocessBehavio
"DAG has tasks for which depends_on_past=True. "
"You must set reprocess behavior to reprocess completed or
reprocess failed."
)
+ if from_date >= timezone.utcnow() and to_date >= timezone.utcnow():
Review Comment:
I think to_date is already being handled
[here](https://github.com/apache/airflow/pull/46017/files#diff-f964a968e76ed62e5a64804b6c2387c790ec8ddc8aeeaced41cdc4b43413db06R338)
--
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]