[ZODB-Dev] Is any function called when an object is loaded from the database?

Malthe Borch mborch at gmail.com
Tue Jun 19 21:42:10 UTC 2012


On 19 June 2012 23:38, Claudiu Saftoiu <csaftoiu at gmail.com> wrote:
> Is there any hook to call *after* the instance attributes get set/loaded
> from the database?

True. I guess you'll have to go with Marius' suggestion – ``__setstate__``.

\malthe


More information about the ZODB-Dev mailing list