From 633b695af42e2fe548cdefa0389df9f5ed6dff45 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Tue, 16 Mar 2021 16:47:43 -0700 Subject: [PATCH] Mark Python interceptors as stable (#25739) --- src/python/grpcio/grpc/__init__.py | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/src/python/grpcio/grpc/__init__.py b/src/python/grpcio/grpc/__init__.py index e1c1e36a392..69803ed1616 100644 --- a/src/python/grpcio/grpc/__init__.py +++ b/src/python/grpcio/grpc/__init__.py @@ -406,8 +406,6 @@ class Call(six.with_metaclass(abc.ABCMeta, RpcContext)): class ClientCallDetails(six.with_metaclass(abc.ABCMeta)): """Describes an RPC to be invoked. - This is an EXPERIMENTAL API. - Attributes: method: The method name of the RPC. timeout: An optional duration of time in seconds to allow for the RPC. @@ -422,10 +420,7 @@ class ClientCallDetails(six.with_metaclass(abc.ABCMeta)): class UnaryUnaryClientInterceptor(six.with_metaclass(abc.ABCMeta)): - """Affords intercepting unary-unary invocations. - - This is an EXPERIMENTAL API. - """ + """Affords intercepting unary-unary invocations.""" @abc.abstractmethod def intercept_unary_unary(self, continuation, client_call_details, request): @@ -459,10 +454,7 @@ class UnaryUnaryClientInterceptor(six.with_metaclass(abc.ABCMeta)): class UnaryStreamClientInterceptor(six.with_metaclass(abc.ABCMeta)): - """Affords intercepting unary-stream invocations. - - This is an EXPERIMENTAL API. - """ + """Affords intercepting unary-stream invocations.""" @abc.abstractmethod def intercept_unary_stream(self, continuation, client_call_details, @@ -496,10 +488,7 @@ class UnaryStreamClientInterceptor(six.with_metaclass(abc.ABCMeta)): class StreamUnaryClientInterceptor(six.with_metaclass(abc.ABCMeta)): - """Affords intercepting stream-unary invocations. - - This is an EXPERIMENTAL API. - """ + """Affords intercepting stream-unary invocations.""" @abc.abstractmethod def intercept_stream_unary(self, continuation, client_call_details, @@ -533,10 +522,7 @@ class StreamUnaryClientInterceptor(six.with_metaclass(abc.ABCMeta)): class StreamStreamClientInterceptor(six.with_metaclass(abc.ABCMeta)): - """Affords intercepting stream-stream invocations. - - This is an EXPERIMENTAL API. - """ + """Affords intercepting stream-stream invocations.""" @abc.abstractmethod def intercept_stream_stream(self, continuation, client_call_details, @@ -1351,10 +1337,7 @@ class ServiceRpcHandler(six.with_metaclass(abc.ABCMeta, GenericRpcHandler)): class ServerInterceptor(six.with_metaclass(abc.ABCMeta)): - """Affords intercepting incoming RPCs on the service-side. - - This is an EXPERIMENTAL API. - """ + """Affords intercepting incoming RPCs on the service-side.""" @abc.abstractmethod def intercept_service(self, continuation, handler_call_details): @@ -1991,8 +1974,6 @@ def secure_channel(target, credentials, options=None, compression=None): def intercept_channel(channel, *interceptors): """Intercepts a channel through a set of interceptors. - This is an EXPERIMENTAL API. - Args: channel: A Channel. interceptors: Zero or more objects of type