Upgrade SQLAlchemy
Background
SQLAlchemy has changed dramatically from 1.2 (which we're using). Current version is not at 2.0.*. An update will give huge benefits, especially to typing, which today is basically non-existent.
Implementation
Upgrade in several steps:
-
1.2 -> 1.3 -
1.3 -> 1.4 -
1.4 -> 2.0
See https://docs.sqlalchemy.org/en/14/changelog/migration_20.html
Edited by Øyvind Evju