From ae244a2779a27ec4c064ee2e9991b1aafed5a3de Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Mon, 21 Oct 2024 13:20:31 -0400 Subject: [PATCH] Fix type issue --- pinecone/grpc/index_grpc_asyncio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinecone/grpc/index_grpc_asyncio.py b/pinecone/grpc/index_grpc_asyncio.py index 51a50946..2dbdda77 100644 --- a/pinecone/grpc/index_grpc_asyncio.py +++ b/pinecone/grpc/index_grpc_asyncio.py @@ -151,7 +151,7 @@ async def _query( sparse_vector: Optional[Union[GRPCSparseValues, SparseVectorTypedDict]] = None, semaphore: Optional[asyncio.Semaphore] = None, **kwargs, - ) -> dict[str, Any]: + ) -> Dict[str, Any]: if vector is not None and id is not None: raise ValueError("Cannot specify both `id` and `vector`")