From c075e6abed96f67ce7725bdf370d412395692674 Mon Sep 17 00:00:00 2001 From: Vits <vittorio.mayellaro.dev@gmail.com> Date: Thu, 23 Jan 2025 11:52:52 +0100 Subject: [PATCH] Formatting --- semantic_router/index/pinecone.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/semantic_router/index/pinecone.py b/semantic_router/index/pinecone.py index 66c7bd1b..998a23f4 100644 --- a/semantic_router/index/pinecone.py +++ b/semantic_router/index/pinecone.py @@ -846,7 +846,9 @@ class PineconeIndex(BaseIndex): all_vector_ids.extend(vector_ids) if include_metadata: - metadata_tasks = [self._async_fetch_metadata(id) for id in vector_ids] + metadata_tasks = [ + self._async_fetch_metadata(id) for id in vector_ids + ] metadata_results = await asyncio.gather(*metadata_tasks) metadata.extend(metadata_results) -- GitLab