aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2025-11-14 22:44:16 +0100
committerDaniel Schadt <kingdread@gmx.de>2025-11-14 22:44:16 +0100
commitffc7886ed4cdf0474c1974326eeb6569019af20f (patch)
tree4989b525fc284c5b81478f02395750b3e1b28671 /pyproject.toml
parent87623a90cdf09c5c9a0aed70e0c4678e18f6feab (diff)
downloadfietsboek-ffc7886ed4cdf0474c1974326eeb6569019af20f.tar.gz
fietsboek-ffc7886ed4cdf0474c1974326eeb6569019af20f.tar.bz2
fietsboek-ffc7886ed4cdf0474c1974326eeb6569019af20f.zip
fix SQLAlchemy types
See https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#whatsnew-20-orm-declarative-typing The Mapped[] annotations help mypy to find the right types for the instance attributes. Some of the mapped_column() definitions are superfluous, but I think it's nice to have them explicit.
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index cea085f..891b5e3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,7 +21,7 @@ dependencies = [
"pyramid_tm (>=2.5, <3.0)",
"waitress (>=3, <4)",
- "SQLAlchemy[mypy] (>=2.0.15, <3.0.0)",
+ "SQLAlchemy (>=2.0.15, <3.0.0)",
"alembic (>=1.8, <2.0)",
"transaction (>=5, <6)",
"zope.sqlalchemy (>=4.0, <5.0)",