def run(self, sid, *args): for key in SequentialKey(sid, self.ws, self.ts.prefix): doc = self.docs.next(key) self.cb.update_xattr(key.string, self.ws.xattr_field, doc)
def run(self, sid, *args): for key in SequentialKey(sid, self.ws, self.ts.prefix): doc = self.docs.next(key) key = self.hash_keys.hash_it(key) self.cb.update(key, doc)