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


##########
newsfragments/41496.significant.rst:
##########
@@ -0,0 +1,5 @@
+Removed deprecated methods in airflow/utils/dates.py
+
+Methods removed:
+  * date_range (Use ``airflow.timetables`` )

Review Comment:
   I don’t think timetables replace `date_range`, at least not functionality 
wise… Airflow uses them to replace its usage of the function, but if you use 
`date_range` in a very generic way (just for a list of datetimes), timetables 
would be a very awkward replacement. I would instead not make any suggestions 
at all since there’s no direct replacement, and if you really want the exact 
functionality, the best approach is to just copy the function somewhere you can 
import from yourself.



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