diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-06-02 21:16:36 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-06-02 21:16:36 +0200 |
commit | ccb4cb27e1e44b3d43d8909c3526720ca82c397b (patch) | |
tree | d9e3f035f0a735aa0563900a79daff1308c6fb00 /doc/make.bat | |
parent | 296b081d6ce3781408146aab0c7959b0ba5c3845 (diff) | |
download | fietsboek-ccb4cb27e1e44b3d43d8909c3526720ca82c397b.tar.gz fietsboek-ccb4cb27e1e44b3d43d8909c3526720ca82c397b.tar.bz2 fietsboek-ccb4cb27e1e44b3d43d8909c3526720ca82c397b.zip |
update dependencies (SQLAlchemy 2.0!)
The biggest change in the dependencies is of course SQLAlchemy 2. On the
good side, we didn't need to do many code changes --- in regards to
actual Code, none!
On the better side, we now have way better type checking for SQLAlchemy
models, thanks to SQLAlchemy's integration with mypy (which we now
properly enable). Yay!
That also means though that many type hints needed to be updated, or
rather, the code using the SQL objects. Especially the difference
between Optional things and existing things has been clarified in a few
places, either by using sensible defaults, or by asserting that the
value is not None. That at least gives us an AssertionError instead of
an AttributError.
Diffstat (limited to 'doc/make.bat')
0 files changed, 0 insertions, 0 deletions