That's just a holdover from my RoR experience. I'm talking about removing an object (or row, if you like) from the database, and I need a callback that's run before the object is removed. That will let me remove child objects in other tables. Unless there's a built-in way of removing children...?
Thanks, Chris On 10/25/07, Gustavo Niemeyer <[EMAIL PROTECTED]> wrote: > Hello Christopher, > > > Is there somewhere I can find a list of object-lifecycle callbacks? > > Especially some sort of before_destroy hook. > > When would that hook be called? "Destroy" gives me the feeling of > deallocation. If that's the case, the normal Python way to do it > still applies (__del__, or weakref callback). > > -- > Gustavo Niemeyer > http://niemeyer.net > -- Chris Doyle 339.225.0975 -- storm mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/storm
