From 21b233b4cd537d6bf2d6c6d83917a301213f6abc Mon Sep 17 00:00:00 2001 From: James Briggs <james.briggs@hotmail.com> Date: Sat, 16 Nov 2024 13:20:55 +0100 Subject: [PATCH] chore: lint --- tests/unit/test_sync.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_sync.py b/tests/unit/test_sync.py index 5f4ddc6b..e37612d1 100644 --- a/tests/unit/test_sync.py +++ b/tests/unit/test_sync.py @@ -43,7 +43,9 @@ def init_index( """ if index_cls is PineconeIndex: index = index_cls( - index_name=TEST_ID, dimensions=dimensions, namespace=namespace, + index_name=TEST_ID, + dimensions=dimensions, + namespace=namespace, ) else: index = index_cls() @@ -192,7 +194,10 @@ class TestRouteLayer: def test_initialization(self, openai_encoder, routes, index_cls): index = init_index(index_cls) _ = RouteLayer( - encoder=openai_encoder, routes=routes, top_k=10, index=index, + encoder=openai_encoder, + routes=routes, + top_k=10, + index=index, auto_sync="local", ) -- GitLab