In Python 3.12 the datetime.utcnow() functionality is removed. The solution is to move to timezone aware datetime objects with The issue that comes up is that our data that we bring in, whether ...
dttm = timezone.make_naive(dttm, self.timezone) File "/Users/bolke/Documents/dev/airflow/airflow/utils/timezone.py", line 118, in make_naive o = value.astimezone ...
Learn how to work with date and time values using Python's datetime library, and how to avoid some of the gotchas and pitfalls of the datetime datatype. Python’s datetime library, part of its standard ...