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 = {}
def reload(self): DocumentHelper.reload(self) self._updated = {} self._removed = {} self._entries = None