]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle cache key for option that has no strategy
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Aug 2017 22:35:09 +0000 (18:35 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Aug 2017 22:35:09 +0000 (18:35 -0400)
commit3f9df2b86b4a8d7912d1190aead4aa084daf802c
tree65074268fb837c80769c67e0b584e689c82330f1
parentd8a80a35a0f117c7659c7a9c62e27994d3aadc01
Handle cache key for option that has no strategy

Fixed regression where the use of a :func:`.undefer_group` option
in conjunction with a lazy loaded relationship option would cause
an attribute error, due to a bug in the SQL cache key generation
added in 1.2 as part of :ticket:`3954`.

Change-Id: Icd9a34f0b5aa96d6433a2ab9c8d3eaee0006f609
Fixes: #4049
doc/build/changelog/unreleased_12/4049.rst [new file with mode: 0644]
lib/sqlalchemy/orm/strategy_options.py
test/orm/test_deferred.py
test/orm/test_options.py