From cc94806d59a3111c9c5ce59bfb13778462f73e70 Mon Sep 17 00:00:00 2001 From: tolgadevAI <164843802+tolgadevAI@users.noreply.github.com> Date: Tue, 27 Aug 2024 09:48:43 +0300 Subject: [PATCH] lint --- semantic_router/index/pinecone.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/semantic_router/index/pinecone.py b/semantic_router/index/pinecone.py index e13d1131..1016a7b5 100644 --- a/semantic_router/index/pinecone.py +++ b/semantic_router/index/pinecone.py @@ -500,7 +500,11 @@ class PineconeIndex(BaseIndex): ( route_objects["sr_route"], route_objects["sr_utterance"], - json.loads(route_objects["sr_function_schemas"]) if route_objects["sr_function_schemas"] else {}, + ( + json.loads(route_objects["sr_function_schemas"]) + if route_objects["sr_function_schemas"] + else {} + ), ) for route_objects in metadata ] -- GitLab