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

:)

guess you are using a threadlocal to get the context?


> 

> --
>  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/CAEE1Yngbpq8s4EoJOoLQ07t852VLK0-5RGMQuzM7rREBSaGBjA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/sqlalchemy/CAEE1Yngbpq8s4EoJOoLQ07t852VLK0-5RGMQuzM7rREBSaGBjA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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/6aa08bdc-8414-4e53-8c32-65fd2e7978b5%40www.fastmail.com.

Reply via email to