Switch pattern for marking unused argument

pull/18190/head
Richard Belleville 6 years ago
parent 1c05218497
commit 33be6cd732
  1. 3
      src/python/grpcio/grpc/_interceptor.py

@ -126,8 +126,7 @@ class _FailureOutcome(grpc.RpcError, grpc.Future, grpc.Call): # pylint: disable
def traceback(self, ignored_timeout=None):
return self._traceback
def add_callback(self, callback):
del callback
def add_callback(self, unused_callback):
return False
def add_done_callback(self, fn):

Loading…
Cancel
Save