octue/octue-sdk-python

Update from deprecated `utcnow` method

cortadocodes opened this issue · 0 comments

datetime.datetime.utcnow() is deprecated in python3.12. Let's update to use datetime.datetime.now(datetime.timezone.utc) which should work in lower versions of python too