From d5fcbce4b4ff81f246bf63899f51f5a3bd56fb8c Mon Sep 17 00:00:00 2001 From: Lucas Abel <22837557+uael@users.noreply.github.com> Date: Fri, 10 Feb 2023 13:00:12 -0800 Subject: [PATCH] grpcio: fix `AioRpcError` self recursion (#32305) See https://github.com/google/mobly/pull/870#issuecomment-1419629154 for more details. --- src/python/grpcio/grpc/aio/_call.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/grpcio/grpc/aio/_call.py b/src/python/grpcio/grpc/aio/_call.py index 4af04ebddc2..37ba945da73 100644 --- a/src/python/grpcio/grpc/aio/_call.py +++ b/src/python/grpcio/grpc/aio/_call.py @@ -86,7 +86,7 @@ class AioRpcError(grpc.RpcError): trailing_metadata: Optional metadata that could be sent by the Server. """ - super().__init__(self) + super().__init__() self._code = code self._details = details self._initial_metadata = initial_metadata