]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fix with_polymorphic
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 21 Feb 2023 16:06:17 +0000 (11:06 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Feb 2023 04:25:32 +0000 (23:25 -0500)
commit097e1eacaaf43f728c552df9ebbfa0fb81c4b6c7
tree9d9e44fd41a7147173300d968cf802eebe2e0bd4
parentfc57bafbae9d67b7ce95e26c939ca957c366b0f7
fix with_polymorphic

Fixed typing issue where :func:`_orm.with_polymorphic` would not record the
class type correctly.

Fixes: #9340
Change-Id: I535ad9aede9b60475231028adb8dc270e55738a4
doc/build/changelog/unreleased_20/9340.rst [new file with mode: 0644]
lib/sqlalchemy/orm/_orm_constructors.py
lib/sqlalchemy/orm/util.py
test/ext/mypy/plain_files/issue_9340.py [new file with mode: 0644]