Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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)