]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add conditionals specific to deferred for expire ro properties
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 10 May 2017 18:03:28 +0000 (14:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 10 May 2017 18:21:07 +0000 (14:21 -0400)
commitc4f28097aa6a01efaa02b9792d5d15f33ae6baac
tree8b8ef70f2c07451ce36dd78dab23db5003b3db90
parent1ed19fc623f9dbfec33e6e81d93454fe025b63ed
Add conditionals specific to deferred for expire ro properties

Fixed bug where a :func:`.column_property` that is also marked as
"deferred" would be marked as "expired" during a flush, causing it
to be loaded along with the unexpiry of regular attributes even
though this attribute was never accessed.

Change-Id: Iaa9e17b66ece30a8e729e4af746b31ff99b1ec9a
Fixes: #3984
doc/build/changelog/changelog_12.rst
lib/sqlalchemy/orm/persistence.py
test/orm/test_unitofwork.py