]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Test attributes for being non-mapped column properties more closely
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Feb 2018 22:42:48 +0000 (17:42 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Feb 2018 22:59:15 +0000 (17:59 -0500)
commit283a969d68688018abee04fde479a6fd8495b6f6
tree96faee92575ba64df3c2d641f4c77bae6c8a231d
parent6c6a7720f221d255a9c8abaec24fc5272403019b
Test attributes for being non-mapped column properties more closely

Fixed bug in concrete inheritance mapping where user-defined
attributes such as hybrid properties that mirror the names
of mapped attributes from sibling classes would be overwritten by
the mapper as non-accessible at the instance level.  Also
ensured that user-bound descriptors are not implicitly invoked at the class
level during the mapper configuration stage.

Change-Id: I52b84a15c296b14efeaffb72941fc941d1d52c0d
Fixes: #4188
doc/build/changelog/unreleased_12/4188.rst [new file with mode: 0644]
lib/sqlalchemy/orm/instrumentation.py
lib/sqlalchemy/orm/mapper.py
test/orm/inheritance/test_concrete.py