From 8c6e5fab764aeb837cc7fb191adb23da122bbbaf Mon Sep 17 00:00:00 2001 From: Jenny Kaufmann <115665474+quark412@users.noreply.github.com> Date: Fri, 5 Sep 2025 14:41:49 -0400 Subject: [PATCH] Update ChromaDBAdapter.py self.list_collections() -> client.list_collections() --- .../infrastructure/databases/vector/chromadb/ChromaDBAdapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py b/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py index 96e0a3bf6..aec33abe2 100644 --- a/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py +++ b/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py @@ -538,7 +538,7 @@ class ChromaDBAdapter(VectorDBInterface): Returns True upon successful deletion of all collections. """ client = await self.get_connection() - collections = await self.list_collections() + collections = await client.list_collections() for collection_name in collections: await client.delete_collection(collection_name) return True