Hi!

I have a model with a parent-child relationship on the same entity.
The "children" collection on a parent instance has events set to intercept
adding and removing instances to/from it. This is needed to update an
attribute from the parent instance.
But when I delete an instance which is the child of another one, that
parent instance is not notified of its child removal and so the event is
not fired.

I tried working with the cascade rules but I have not been successful.

Is this behaviour supported?

Thanks!

Pau.
-- 
----------------------------------
Pau Tallada Crespí
Dep. d'Astrofísica i Cosmologia
Port d'Informació Científica (PIC)
Tel: +34 93 586 8233
----------------------------------

-- 
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