I'm trying to adopt the examples from:
https://bitbucket.org/zzzeek/sqlalchemy/src/e2b8c893ca98/examples/dogpile_caching/
to work with my code base and so I've copy and pasted the caching_query.py
into my project and started doing queries like this:
DBSession = scoped_session(
I use this recipe extensively (and have for several years), can you provide a
test case that generates that warning?
On May 27, 2013, at 9:01 PM, John Anderson son...@gmail.com wrote:
I'm trying to adopt the examples from:
Sorry, re-sending, I accidentally replied directly to Mike:
Here is a small gist that shows how to reproduce it:
https://gist.github.com/sontek/5660624
If you use that along with the caching query stuff in the examples and run
it you should get the following error:
SAWarning: Column
ah right, the statement caching code has been updated recently when I
transitioned from dogpile, it just needs this:
diff --git a/examples/dogpile_caching/caching_query.py
b/examples/dogpile_caching/caching_query.py
index f4724fb..fb019cc 100644
--- a/examples/dogpile_caching/caching_query.py