]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fall back to eval() for names that have dots
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Nov 2022 13:51:34 +0000 (08:51 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Nov 2022 13:52:12 +0000 (08:52 -0500)
commitece524c0059d0814e45f4bba63abebd7e9af4b8b
tree4985177fae442ffea84ef0953a964c1fe4b1b1fe
parent46e6693cb3db445f18aa25d5e4ca613504bd12b3
fall back to eval() for names that have dots

Fixed regression in 2.0.0b3 caused by :ticket:`8759` where indicating the
:class:`.Mapped` name using a qualified name such as
``sqlalchemy.orm.Mapped`` would fail to be recognized by Declarative as
indicating the :class:`.Mapped` construct.

Fixes: #8853
Change-Id: Iddb6efaae864d4545e80c54658244670f81ef6cc
doc/build/changelog/unreleased_20/8853.rst [new file with mode: 0644]
lib/sqlalchemy/util/typing.py
test/orm/declarative/test_tm_future_annotations.py