Преглед на файлове

Mark it as experimental

Lidi Zheng преди 5 години
родител
ревизия
c07520a350
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/python/grpcio/grpc/experimental/aio/_base_call.py

+ 4 - 0
src/python/grpcio/grpc/experimental/aio/_base_call.py

@@ -162,6 +162,8 @@ class UnaryStreamCall(Generic[RequestType, ResponseType],
     async def try_connect(self) -> None:
     async def try_connect(self) -> None:
         """Tries to connect to peer and raise aio.AioRpcError if failed.
         """Tries to connect to peer and raise aio.AioRpcError if failed.
 
 
+        This is an EXPERIMENTAL method.
+
         This method is available for RPCs with streaming responses. This method
         This method is available for RPCs with streaming responses. This method
         enables the application to ensure if the RPC has been successfully
         enables the application to ensure if the RPC has been successfully
         connected. Otherwise, an AioRpcError will be raised to explain the
         connected. Otherwise, an AioRpcError will be raised to explain the
@@ -249,6 +251,8 @@ class StreamStreamCall(Generic[RequestType, ResponseType],
     async def try_connect(self) -> None:
     async def try_connect(self) -> None:
         """Tries to connect to peer and raise aio.AioRpcError if failed.
         """Tries to connect to peer and raise aio.AioRpcError if failed.
 
 
+        This is an EXPERIMENTAL method.
+
         This method is available for RPCs with streaming responses. This method
         This method is available for RPCs with streaming responses. This method
         enables the application to ensure if the RPC has been successfully
         enables the application to ensure if the RPC has been successfully
         connected. Otherwise, an AioRpcError will be raised to explain the
         connected. Otherwise, an AioRpcError will be raised to explain the