def __init__(self, rest, kv_store, bucket="default"): self.state = "initializing" self.res = None Thread.__init__(self) self.client = KVStoreAwareSmartClient(rest, bucket, kv_store) self.kv_helper = KVStoreSmartClientHelper()
def run(self): validation_failures = KVStoreSmartClientHelper.do_verification( self.client) self.set_result({"status": "success", "value": validation_failures})
def run(self): validation_failures = KVStoreSmartClientHelper.do_verification(self.client) self.set_result({"status": "success", "value": validation_failures})