Re: [sqlalchemy] "after_insert" event alternative?

2017-09-12 Thread Mike Bayer
On Tue, Sep 12, 2017 at 1:42 PM, Colton Allen wrote: > In an attempt to simplify my app's logic, I want to move some mandatory > method calls into a model event. Traditionally, I've used "after_insert" > but it has some quirks in that you need to use the "connection"

[sqlalchemy] "after_insert" event alternative?

2017-09-12 Thread Colton Allen
In an attempt to simplify my app's logic, I want to move some mandatory method calls into a model event. Traditionally, I've used "after_insert" but it has some quirks in that you need to use the "connection" argument to make updates. What I really want is more flexibility. I'll need use of