Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use datetime.now(utc) in MetricDatum
datetime.utcnow() is deprecated as of Python 3.12, and its use will raise a DeprecationWarning. Since warnings are treated as errors, this results in test failures under Python 3.12. Switch to using datetime.now() with a timezone.utc parameter.
- Loading branch information