|
|
@ -100,6 +100,12 @@ class _LocalFailure(grpc.RpcError, grpc.Future, grpc.Call): |
|
|
|
def cancelled(self): |
|
|
|
def cancelled(self): |
|
|
|
return False |
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def is_active(self): |
|
|
|
|
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def time_remaining(self): |
|
|
|
|
|
|
|
return None |
|
|
|
|
|
|
|
|
|
|
|
def running(self): |
|
|
|
def running(self): |
|
|
|
return False |
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
@ -115,6 +121,9 @@ class _LocalFailure(grpc.RpcError, grpc.Future, grpc.Call): |
|
|
|
def traceback(self, ignored_timeout=None): |
|
|
|
def traceback(self, ignored_timeout=None): |
|
|
|
return self._traceback |
|
|
|
return self._traceback |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def add_callback(self, callback): |
|
|
|
|
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
def add_done_callback(self, fn): |
|
|
|
def add_done_callback(self, fn): |
|
|
|
fn(self) |
|
|
|
fn(self) |
|
|
|
|
|
|
|
|
|
|
|