Re: [sqlalchemy] Re: Deleting child object in one-to-many relationship trying to load relationship?

2018-08-06 Thread Derek Lambert
Doh that's exactly what I need. Need to read through the docs again, I missed that parameter. Thanks! On Monday, August 6, 2018 at 4:46:57 PM UTC-5, Mike Bayer wrote: > > On Mon, Aug 6, 2018 at 4:14 PM, Derek Lambert > wrote: > > I do want it to tell me when stuff is being eager loaded so I ca

Re: [sqlalchemy] Re: Deleting child object in one-to-many relationship trying to load relationship?

2018-08-06 Thread Mike Bayer
On Mon, Aug 6, 2018 at 4:14 PM, Derek Lambert wrote: > I do want it to tell me when stuff is being eager loaded so I can optimize > those queries. > > SQLAlchemy shouldn't need to know about the other end of the relationship to > delete the person should it? > > I didn't notice this before, but wh

[sqlalchemy] Re: Deleting child object in one-to-many relationship trying to load relationship?

2018-08-06 Thread Derek Lambert
I do want it to tell me when stuff is being eager loaded so I can optimize those queries. SQLAlchemy shouldn't need to know about the other end of the relationship to delete the person should it? I didn't notice this before, but when I add passive_deletes=True on the "many" side I get the warn