]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add some typing tests for declared_attr, mixins, decl base
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 8 Jul 2022 18:36:25 +0000 (14:36 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Jul 2022 14:40:49 +0000 (10:40 -0400)
commitf4aaba7b96d2344b60ad88669328e4fe5280f1d3
tree73421232d857b68eaec9bfab5a2a46f1189de4ae
parent805a1323b973a30af99ce506dd5c5c4ab96cff0f
add some typing tests for declared_attr, mixins, decl base

to make typing easier, looking at using getattr on table.c
rather than getitem for now

Change-Id: I7946885071d0b0ddfc06be009f033495f9906de5
test/ext/mypy/plain_files/declared_attr_one.py [new file with mode: 0644]
test/ext/mypy/plain_files/declared_attr_two.py [new file with mode: 0644]
test/orm/declarative/test_mixin.py