From 693a53a06b88a79eabe627039a859df53f294a9e Mon Sep 17 00:00:00 2001 From: Luke VanderHart Date: Mon, 17 Apr 2023 16:17:55 -0700 Subject: [PATCH] avoid operator overloading --- chromadb/test/property/test_embeddings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chromadb/test/property/test_embeddings.py b/chromadb/test/property/test_embeddings.py index 13cfdf520ab..e2d3676c44b 100644 --- a/chromadb/test/property/test_embeddings.py +++ b/chromadb/test/property/test_embeddings.py @@ -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]):