SQLAlchemy-file is a SQLAlchemy extension for attaching files to SQLAlchemy model and uploading them to various storage such as Local Storage, Amazon S3, Rackspace CloudFiles, Google Storage and others using Apache Libcloud.
sqlalchemy_file/file.py:124: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
self["uploaded_at"] = datetime.utcnow().isoformat()
This seems not to be a big deal, and easy to fix as the replacement code is provided in the warning itself.
When using python 3.12 we trigger this warning
This seems not to be a big deal, and easy to fix as the replacement code is provided in the warning itself.