Skip to content

Commit 8ea07e6

Browse files
style: ruff format (auto)
1 parent 06e62df commit 8ea07e6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/unit/test_embedding_fields.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
JVector/DiskANN method configuration with only the dimension varying per
99
embedding model.
1010
"""
11+
1112
from types import SimpleNamespace
1213
from typing import Any
1314

@@ -100,9 +101,7 @@ class TestBuildKnnVectorFieldCallSitesMatch:
100101
def test_index_body_uses_helper_output(self) -> None:
101102
from config.settings import INDEX_BODY, VECTOR_DIM
102103

103-
chunk_field: dict[str, Any] = INDEX_BODY["mappings"]["properties"][
104-
"chunk_embedding"
105-
]
104+
chunk_field: dict[str, Any] = INDEX_BODY["mappings"]["properties"]["chunk_embedding"]
106105
expected = build_knn_vector_field(VECTOR_DIM)
107106
assert chunk_field == expected
108107

0 commit comments

Comments
 (0)