[sqlalchemy] Re: Relationship backref cascade path

2021-07-24 Thread Lele Gaifax
"Mike Bayer" writes: > On Sat, Jul 24, 2021, at 5:49 AM, Lele Gaifax wrote: >> Hi all, >> >> I need some clarification on the following RemovedIn20Warning >> >> "Pet" object is being merged into a Session along the backref cascade path >> for relationship "Person.pets"; in SQLAlchemy 2.0, t

Re: [sqlalchemy] Relationship backref cascade path

2021-07-24 Thread Mike Bayer
On Sat, Jul 24, 2021, at 5:49 AM, Lele Gaifax wrote: > Hi all, > > I need some clarification on the following RemovedIn20Warning > > "Pet" object is being merged into a Session along the backref cascade path > for relationship "Person.pets"; in SQLAlchemy 2.0, this reverse cascade will >

[sqlalchemy] Relationship backref cascade path

2021-07-24 Thread Lele Gaifax
Hi all, I need some clarification on the following RemovedIn20Warning "Pet" object is being merged into a Session along the backref cascade path for relationship "Person.pets"; in SQLAlchemy 2.0, this reverse cascade will not take place... Does it really means that in SA 2.0 the pattern