On 12/15/2011 6:29 PM, Michael Bayer wrote:
I never use before_update()/before_insert() for anything outside of direct SQL manipulation, which is what they are intended for. That's why they get a Connection but not a Session.
So are you suggesting if I did this all within before_flush(), the problem goes away and stick to only SQL manipulation in before_update()/before_insert()?
-- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
