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:

http://www.sqlalchemy.org/docs/orm/interfaces.html#sqlalchemy.orm.interfaces.MapperExtension.before_delete
http://www.sqlalchemy.org/docs/orm/interfaces.html#sqlalchemy.orm.interfaces.MapperExtension.after_delete

Regards,

- Gulli

-- 
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 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to