]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Use configured props for mapper.attrs, mapper.all_orm_descriptors
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Nov 2016 19:24:48 +0000 (14:24 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 10 Nov 2016 22:36:41 +0000 (17:36 -0500)
commitf2eb4aac9517a3775411c2ecf0f588ffd0d790f6
treeaaac53b6e623bffcb9f6aa2d66b08f2d82b2494b
parent03429812125c0265b90f6e1d706d132b88a0161c
Use configured props for mapper.attrs, mapper.all_orm_descriptors

Fixed bug where the :attr:`.Mapper.attrs`,
:attr:`.Mapper.all_orm_descriptors` and other derived attributes would
fail to refresh when mapper properties or other ORM constructs were
added to the mapper/class after these  accessors were first called.

(also trying different ways to get the changelog to merge cleanly)

Change-Id: Iaecdb4b3d8c3a3b44302a5880476e60a1f4e27d9
Fixes: #3778
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/mapper.py
test/orm/test_inspect.py