From ca6e62998c746ffed8bea0e240908d64055b2192 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Fri, 24 Apr 2020 10:55:22 -0700 Subject: [PATCH] Remove circular dependency --- src/python/grpcio_status/grpc_status/_async.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/python/grpcio_status/grpc_status/_async.py b/src/python/grpcio_status/grpc_status/_async.py index a6a6f7ef6ad..c9201810486 100644 --- a/src/python/grpcio_status/grpc_status/_async.py +++ b/src/python/grpcio_status/grpc_status/_async.py @@ -13,14 +13,12 @@ # limitations under the License. """Reference implementation for status mapping in gRPC Python.""" -from grpc.experimental import aio - from google.rpc import status_pb2 from ._common import code_to_grpc_status_code, GRPC_DETAILS_METADATA_KEY -async def from_call(call: aio.Call): +async def from_call(call): """Returns a google.rpc.status.Status message from a given grpc.aio.Call. This is an EXPERIMENTAL API.