issues
search
datakind
/
permanent-colandr-back
DataCorps - Colandr Tool resources
https://www.colandrapp.com/signin
14
stars
1
forks
source link
Clean up old/ugly code -- and get sqlalchemy v2 working
#92
Closed
bdewilde
closed
9 months ago
bdewilde
commented
9 months ago
changes
bumps
sqlalchemy
from v1.4 => v2.0 and
sqlalchemy-flask
from v3.0 => v3.1
updates all old-style sqlalchemy usage to v2-compatible equivalents in code and tests
improves isolation of all tests using automatic db session rollbacks
tidies up api errors and register them on the api directly, rather than a namespace
moves utils module and updates imports to avoid circular imports
replaces dangling str.format usage with equivalent f-strings
changes
sqlalchemy
from v1.4 => v2.0 andsqlalchemy-flask
from v3.0 => v3.1