De-experimentalize wait-for-ready (#32143)

pull/32206/head
Xuan Wang 2 years ago committed by GitHub
parent 6a92df7237
commit 16d5e412dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      src/python/grpcio/grpc/__init__.py
  2. 12
      src/python/grpcio/grpc/aio/_base_channel.py
  3. 3
      src/python/grpcio/grpc/aio/_interceptor.py

@ -415,8 +415,7 @@ class ClientCallDetails(abc.ABC):
metadata: Optional :term:`metadata` to be transmitted to metadata: Optional :term:`metadata` to be transmitted to
the service-side of the RPC. the service-side of the RPC.
credentials: An optional CallCredentials for the RPC. credentials: An optional CallCredentials for the RPC.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
""" """
@ -680,8 +679,7 @@ class UnaryUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -713,8 +711,7 @@ class UnaryUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -746,8 +743,7 @@ class UnaryUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -782,8 +778,7 @@ class UnaryStreamMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -818,8 +813,7 @@ class StreamUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -852,8 +846,7 @@ class StreamUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -885,8 +878,7 @@ class StreamUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -921,8 +913,7 @@ class StreamStreamMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.

@ -49,8 +49,7 @@ class UnaryUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -88,8 +87,7 @@ class UnaryStreamMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -127,8 +125,7 @@ class StreamUnaryMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.
@ -166,8 +163,7 @@ class StreamStreamMultiCallable(abc.ABC):
service-side of the RPC. service-side of the RPC.
credentials: An optional CallCredentials for the RPC. Only valid for credentials: An optional CallCredentials for the RPC. Only valid for
secure Channel. secure Channel.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
compression: An element of grpc.compression, e.g. compression: An element of grpc.compression, e.g.
grpc.compression.Gzip. grpc.compression.Gzip.

@ -88,8 +88,7 @@ class ClientCallDetails(
metadata: Optional metadata to be transmitted to the service-side of metadata: Optional metadata to be transmitted to the service-side of
the RPC. the RPC.
credentials: An optional CallCredentials for the RPC. credentials: An optional CallCredentials for the RPC.
wait_for_ready: This is an EXPERIMENTAL argument. An optional wait_for_ready: An optional flag to enable :term:`wait_for_ready` mechanism.
flag to enable :term:`wait_for_ready` mechanism.
""" """
method: str method: str

Loading…
Cancel
Save