Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Nov 16, 2024
1 parent a7f7fca commit 21b233b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/unit/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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",
)

Expand Down

0 comments on commit 21b233b

Please sign in to comment.