Re: [sqlalchemy] Deferred column getting unintentionally deferred

2017-09-20 Thread Neena Parikh
Great, thanks for the follow-up! We've found a workaround using inspect(item).expired_attributes.clear() after calling through to make_transient_to_detached(item). Best, Neena On Tuesday, September 19, 2017 at 1:38:19 PM UTC-7, Mike Bayer wrote: > > On Tue, Sep 19, 2017 at 1:16 PM, Neena

Re: [sqlalchemy] Re: A "after flush before commit" event

2017-09-20 Thread vineet
Hey Mike, Thanks for taking the time to answer all of these questions! I think what we're looking for is a way to perform some actions immediately before "COMMIT" is sent to the database. The current solutions (as far as I can understand them) all have some drawbacks: *Perform actions in