[sqlalchemy] Re: Constructor and destructor of mapped objects

2011-04-26 Thread Gunnlaugur Briem
Hi Dmitry. You don't need to call the Base constructor, it's just a convenience feature: http://www.sqlalchemy.org/docs/orm/extensions/declarative.html#class-constructor For doing stuff on delete, check out the ORM event API, specifically the before_delete and after_delete events:

[sqlalchemy] Re: Constructor and destructor of mapped objects

2011-04-26 Thread Dmitry Guryanov
Thanks a lot, this is exactly what i was looking for ! -- Dmitry Guryanov -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to