style: format

This commit is contained in:
Andy Lee
2025-08-25 15:48:04 -07:00
parent 3d79741f9c
commit 75c8aeee5f
3 changed files with 9 additions and 3 deletions

View File

@@ -274,7 +274,9 @@ class HNSWSearcher(BaseSearcher):
return self._id_map[x]
return str(x)
string_labels = [[map_label(int(l)) for l in batch_labels] for batch_labels in labels]
string_labels = [
[map_label(int(label)) for label in batch_labels] for batch_labels in labels
]
else:
string_labels = [
[str(int_label) for int_label in batch_labels] for batch_labels in labels