Re: [sqlalchemy] ORM events order

2013-12-06 Thread Tim Kersten
Thank you very much On Thursday, December 5, 2013 5:20:57 PM UTC, Michael Bayer wrote: > > > On Dec 5, 2013, at 12:14 PM, Tim Kersten > > wrote: > > > thank you. > > > > What of the relative ordering of the different ORM event types? i.e. > > > > before_flush > > before_delete > > after_fl

Re: [sqlalchemy] ORM events order

2013-12-05 Thread Michael Bayer
On Dec 5, 2013, at 12:14 PM, Tim Kersten wrote: > thank you. > > What of the relative ordering of the different ORM event types? i.e. > > before_flush > before_delete > after_flush > etc > > When looking at before_flush I see the before_delete has not yet been fired, > yet is has been fired

Re: [sqlalchemy] ORM events order

2013-12-05 Thread Tim Kersten
thank you. What of the relative ordering of the different ORM event types? i.e. before_flush before_delete after_flush etc When looking at before_flush I see the before_delete has not yet been fired, yet is has been fired in the after_flush. Is this guaranteed to always be the case? On 5 Dec

Re: [sqlalchemy] ORM events order

2013-12-05 Thread Michael Bayer
On Dec 5, 2013, at 10:51 AM, Tim Kersten wrote: > Hi Folks, > > Is the order ORM events ( > http://docs.sqlalchemy.org/en/rel_0_9/orm/events.html ) are fired in > deterministic and guaranteed to be the same every time? I've searched the > docs and google but couldn't anything relating to the