Fix SQLAlchemy LegacyAPIWarning
Summary
Warning in SQLAlchemy
Relevant logs and/or screenshots
LegacyAPIWarning: The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
resource = resource_class.query.get(ressource_id)
Environment info
0.18.1