Skip to content

Commit

Permalink
avoid operator overloading
Browse files Browse the repository at this point in the history
  • Loading branch information
levand committed Apr 17, 2023
1 parent d6fd0c6 commit 693a53a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chromadb/test/property/test_embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def _add_embeddings(self, embeddings: strategies.EmbeddingSet):
else:
documents = [None] * len(embeddings["ids"])

self.embeddings["metadatas"] += metadatas # type: ignore
self.embeddings["documents"] += documents # type: ignore
self.embeddings["metadatas"].extend(metadatas) # type: ignore
self.embeddings["documents"].extend(documents) # type: ignore

def _remove_embeddings(self, indices_to_remove: Set[int]):

Expand Down

0 comments on commit 693a53a

Please sign in to comment.