|
|
@ -80,7 +80,7 @@ def _unwrap_client_call_details(call_details, default_details): |
|
|
|
return method, timeout, metadata, credentials, wait_for_ready |
|
|
|
return method, timeout, metadata, credentials, wait_for_ready |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class _FailureOutcome(grpc.RpcError, grpc.Future, grpc.Call): |
|
|
|
class _FailureOutcome(grpc.RpcError, grpc.Future, grpc.Call): # pylint: disable=too-many-ancestors |
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, exception, traceback): |
|
|
|
def __init__(self, exception, traceback): |
|
|
|
super(_FailureOutcome, self).__init__() |
|
|
|
super(_FailureOutcome, self).__init__() |
|
|
@ -127,6 +127,7 @@ class _FailureOutcome(grpc.RpcError, grpc.Future, grpc.Call): |
|
|
|
return self._traceback |
|
|
|
return self._traceback |
|
|
|
|
|
|
|
|
|
|
|
def add_callback(self, callback): |
|
|
|
def add_callback(self, callback): |
|
|
|
|
|
|
|
del callback |
|
|
|
return False |
|
|
|
return False |
|
|
|
|
|
|
|
|
|
|
|
def add_done_callback(self, fn): |
|
|
|
def add_done_callback(self, fn): |
|
|
|