

def set_exception(self, exception, traceback=None):
    if self.timer:
        self.timer.cancel()
    self.future.set_exception(exception, traceback)

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/invocation.py Invocation.set_exception/original