]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
include WriteOnlyMapped, DynamicMapped in abs import lookup
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 3 Oct 2023 17:42:35 +0000 (13:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 3 Oct 2023 17:43:52 +0000 (13:43 -0400)
commit0dc335a987fab540a079567953023d56c1178313
tree92395232498527283f2ab536e4ac2b65916be572
parentaa7f15de35fa076afa2a7be2e3c3e030986f5a86
include WriteOnlyMapped, DynamicMapped in abs import lookup

Fixed issue where :class:`.Mapped` symbols like :class:`.WriteOnlyMapped`
and :class:`.DynamicMapped` could not be correctly resolved when referenced
as an element of a sub-module in the given annotation, assuming
string-based or "future annotations" style annotations.

Fixes: #10412
Change-Id: I188146a6de7f6f80ec0ebf6e982b7842a78adc54
doc/build/changelog/unreleased_20/10412.rst [new file with mode: 0644]
lib/sqlalchemy/orm/util.py
test/orm/declarative/test_abs_import_only.py