]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Check more specifically for hybrid attr and not mapped property
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Oct 2018 21:10:42 +0000 (17:10 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Oct 2018 16:15:34 +0000 (12:15 -0400)
commitdc21de59cad03b63e8bfc4e55b2457a5b129e582
treeacede443a878b695ed74bdd22b1a83b6c309997b
parent5311000cb390198afb9d96cf1aae17c713210b7b
Check more specifically for hybrid attr and not mapped property

Fixed regression caused by :ticket:`4326` in version 1.2.12 where using
:class:`.declared_attr` with a mixin in conjunction with
:func:`.orm.synonym` would fail to map the synonym properly to an inherited
subclass.

Fixes: #4350
Change-Id: Ib2a9b6a125a2ac7c7ff80201746b7f10e5596226
(cherry picked from commit 9335c24d6c98033f4aa1ceafd23a70b88c8ae811)
doc/build/changelog/unreleased_12/4350.rst [new file with mode: 0644]
lib/sqlalchemy/ext/declarative/base.py
test/ext/declarative/test_mixin.py