]> git.openstreetmap.org Git - nominatim.git/commit
adapt annotations for SQLAlchemy 2.x
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 27 Jan 2023 20:53:53 +0000 (21:53 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 28 Jan 2023 10:51:26 +0000 (11:51 +0100)
commit2156fd4909ab37063c37b28905053191891442a9
tree30e2d9a4b47b94fce9c540ef9603d62445e832b1
parent7f5fbe1dc7a3bddc50cb1d4624552e1cb1d819cf
adapt annotations for SQLAlchemy 2.x

It is not possible to produce type annotations that work with both
versions 1.4 and 2.0. So keep to the principle of only supporting
newest versions when it comes to mypy. This means that some types
may have to be string quoted to not cause issues when running with
SQLAlchemy 1.4.
.github/workflows/ci-tests.yml
docs/develop/Development-Environment.md
nominatim/api/connection.py
nominatim/api/core.py