Re: [sqlalchemy] Global pre-filter of queries containing a given model.

2018-10-18 Thread Daniel Cardin
Fair enough, I was expecting something like that to be the case anyhow. Thank you very much! On Thursday, October 18, 2018 at 2:33:20 PM UTC-4, Mike Bayer wrote: > > On Thu, Oct 18, 2018 at 12:31 PM Daniel Cardin > wrote: > > > > O, very nice thanks! This appears to work much more

Re: [sqlalchemy] Global pre-filter of queries containing a given model.

2018-10-18 Thread Mike Bayer
On Thu, Oct 18, 2018 at 12:31 PM Daniel Cardin wrote: > > O, very nice thanks! This appears to work much more reliably and requires > far less code! > > We do have some relationships which are using joined loading. And one which > is doing Parent -> mapping-table --joinedload--> Child

Re: [sqlalchemy] Global pre-filter of queries containing a given model.

2018-10-18 Thread Daniel Cardin
O, very nice thanks! This appears to work much more reliably and requires far less code! We do have some relationships which are using joined loading. And one which is doing Parent -> mapping-table --joinedload--> Child -selectin--> Parent, which also appears not to work, but I could