]> 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>
Fri, 19 Oct 2018 21:12:26 +0000 (17:12 -0400)
commit9335c24d6c98033f4aa1ceafd23a70b88c8ae811
treeb0e4a69f9b0e5224b7811decd2613e9b5dfa624b
parentd080aae128b081e6870dae325cb90202329784b4
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
doc/build/changelog/unreleased_12/4350.rst [new file with mode: 0644]
lib/sqlalchemy/ext/declarative/base.py
test/ext/declarative/test_mixin.py