[sqlalchemy] Automatically applying FromCache for specific mapped class

2014-01-25 Thread Jonathan Rogers
I am experimenting with the caching example and have it working as described. I have a number of mapped classes for tables which are static lookup tables. The rows in the tables will not change during the lifetime of application process. So, I would like to automatically apply a FromCache option

Re: [sqlalchemy] Automatically applying FromCache for specific mapped class

2014-01-25 Thread Jonathan Rogers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Bayer wrote: On Jan 25, 2014, at 11:48 AM, Jonathan Rogers jonathanrrog...@gmail.com wrote: I am experimenting with the caching example and have it working as described. I have a number of mapped classes for tables which are static