diff --git a/src/python/grpcio/grpc/__init__.py b/src/python/grpcio/grpc/__init__.py index 406f5651516..8e1fb2631ad 100644 --- a/src/python/grpcio/grpc/__init__.py +++ b/src/python/grpcio/grpc/__init__.py @@ -1454,7 +1454,6 @@ class Server(abc.ABC): """ raise NotImplementedError() - @abc.abstractmethod def add_registered_method_handlers(self, service_name, method_handlers): """Registers GenericRpcHandlers with this Server. @@ -1468,7 +1467,6 @@ class Server(abc.ABC): method_handlers: A dictionary that maps method names to corresponding RpcMethodHandler. """ - raise NotImplementedError() @abc.abstractmethod def add_insecure_port(self, address): diff --git a/src/python/grpcio/grpc/aio/_base_server.py b/src/python/grpcio/grpc/aio/_base_server.py index 9563a7875bc..6be8527b901 100644 --- a/src/python/grpcio/grpc/aio/_base_server.py +++ b/src/python/grpcio/grpc/aio/_base_server.py @@ -136,7 +136,6 @@ class Server(abc.ABC): A bool indicates if the operation times out. """ - @abc.abstractmethod def add_registered_method_handlers(self, service_name, method_handlers): """Registers GenericRpcHandlers with this Server. @@ -147,7 +146,6 @@ class Server(abc.ABC): method_handlers: A dictionary that maps method names to corresponding RpcMethodHandler. """ - raise NotImplementedError() # pylint: disable=too-many-public-methods