[sqlalchemy] Using bindparams in a lazily loaded relationship

2015-12-04 Thread Daniel Thul
I configured a relationship to use a bindparam as part of its primaryjoin condition. This works as long as the relationship is loaded eagerly. As soon as I switch to lazy loading it won't resolve the relationship properly. I guess this is because the lazy load "forgets" the params that have been

Re: [sqlalchemy] Using bindparams in a lazily loaded relationship

2015-12-04 Thread Mike Bayer
On 12/04/2015 10:18 AM, Daniel Thul wrote: > I configured a relationship to use a bindparam as part of its > primaryjoin condition. > This works as long as the relationship is loaded eagerly. As soon as I > switch to lazy loading it won't resolve the relationship properly. > I guess this is