]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Improve typing of DeclarativeBase
authorFederico Caselli <cfederico87@gmail.com>
Tue, 18 Oct 2022 19:08:48 +0000 (21:08 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Wed, 19 Oct 2022 20:02:26 +0000 (22:02 +0200)
commit4e8777b03f194ff0012bdd32fabd8a398a93687b
tree161d529d31a6aeab5f855fcd13ccffd2fe774d0f
parent3c5ac045fcc551674c38a813478977e736b2e8a9
Improve typing of DeclarativeBase

Also allow mapped columns inside indexes, unique cosntraints, primary key constriant

Fixes: #8645
Change-Id: If37ab85ead0fbd1125cd6329c2f01a031777b081
doc/build/changelog/unreleased_20/8645.rst [new file with mode: 0644]
lib/sqlalchemy/orm/decl_api.py
lib/sqlalchemy/orm/properties.py
test/ext/mypy/plain_files/declared_attr_one.py
test/ext/mypy/plain_files/declared_attr_two.py