On Wed, Oct 23, 2019 at 3:16 PM Mike Bayer <[email protected]> wrote:
> > > On Tue, Oct 22, 2019, at 12:30 PM, [email protected] wrote: > > > > > it sounds like you should use a bound parameter with a lambda inside of > it, there's not an explicit "on lazyload" hook at the moment. > > > Yep, that seems to be doing the job! > > > > that worked? wow > > :) > SQLAlchemy always has a solution for me. But often uneasy to find :-) > guess you are using a threadlocal to get the context? > Yes indeed. -- Eric -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/CAEE1YnjRsi9kh-V3NtVUQL--TqbCaGPCj4V%3Drj8v2sc8bq%3DU%3Dg%40mail.gmail.com.
