]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Update dogpile.cache example to be compatible with baked query.
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 16 May 2018 20:31:40 +0000 (16:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 17 May 2018 16:43:44 +0000 (12:43 -0400)
commit2c7f2954f793cbb4d991a870c1f725fc98e2e83f
tree7a3120e049660c0f924e3f718798e1b442e6a9a4
parentb9f428a589a1718efa20e5555be45ae3f767e89e
Update dogpile.cache example to be compatible with baked query.

Updated the dogpile.caching example to include new structures that
accommodate for the "baked" query system, which is used by default within
lazy loaders and some eager relationship loaders. The dogpile.caching
"relationship_caching" and "advanced" examples were also broken due to
:ticket:`4256`.  The issue here is also worked-around by the fix in
:ticket:`4128`.

Note that this recipe requires
I3f86fcb12a6a9a89aa308b335e75c25969bcc30e in order for the
"advanced" example to work.

Change-Id: I9d35417f1d6c1906555583b8225d3da7f81736f7
Fixes: #4258
doc/build/changelog/unreleased_12/4258.rst [new file with mode: 0644]
examples/dogpile_caching/caching_query.py
test/ext/test_baked.py