You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we're planning to upgrade everything to use this version (see #268), let's avoid using this method, as at the very least warnings could clutter logs.
The text was updated successfully, but these errors were encountered:
since Python 3.12 utcnow() is deprecated
it is replaced by now() withthe timezone information provided by datetime.timezone.utc
datetime.timezone.utc is unwiedly though and since Python 3.11 the shorter datetime.UTC
is available as an alias. This updates all SDLF with it.
utcnow()
is deprecated since Python 3.12: https://blog.miguelgrinberg.com/post/it-s-time-for-a-change-datetime-utcnow-is-now-deprecatedSince we're planning to upgrade everything to use this version (see #268), let's avoid using this method, as at the very least warnings could clutter logs.
The text was updated successfully, but these errors were encountered: