From ef1d30ed178a2901f9df733563877f6e3fc90062 Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Thu, 14 Nov 2024 14:24:21 -0500 Subject: [PATCH] mypy fixes --- pinecone/grpc/index_grpc_asyncio.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pinecone/grpc/index_grpc_asyncio.py b/pinecone/grpc/index_grpc_asyncio.py index 93f00cd6..243f2385 100644 --- a/pinecone/grpc/index_grpc_asyncio.py +++ b/pinecone/grpc/index_grpc_asyncio.py @@ -456,8 +456,7 @@ async def fetch( request = FetchRequest(ids=ids, **args_dict, **kwargs) response = await self.runner.run_asyncio(self.stub.Fetch, request, timeout=timeout) - json_response = json_format.MessageToDict(response) - return parse_fetch_response(json_response) + return parse_fetch_response(response) async def update( self,