Mark it as experimental

pull/22565/head
Lidi Zheng 5 years ago
parent 41866c1250
commit c07520a350
  1. 4
      src/python/grpcio/grpc/experimental/aio/_base_call.py

@ -162,6 +162,8 @@ class UnaryStreamCall(Generic[RequestType, ResponseType],
async def try_connect(self) -> None:
"""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
enables the application to ensure if the RPC has been successfully
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:
"""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
enables the application to ensure if the RPC has been successfully
connected. Otherwise, an AioRpcError will be raised to explain the

Loading…
Cancel
Save