Example #1
0
 def __init__(self, *args, **kw):
     if not args and not 'id' in kw:
         args = [melk_id(nonce_str())]
     
     DocumentHelper.__init__(self, *args, **kw)
     self._entries = None # lazy load
     self._removed = {}
     self._updated = {}
Example #2
0
 def reload(self):
     DocumentHelper.reload(self)
     self._updated = {}
     self._removed = {}
     self._entries = None