From 326de7e36d655f3a6035ca24a1758934a9c32d06 Mon Sep 17 00:00:00 2001 From: Patrick Bassner Date: Tue, 5 Nov 2024 11:16:14 +0100 Subject: [PATCH] Added logging for Weaviate client closure --- app/vector_database/database.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/vector_database/database.py b/app/vector_database/database.py index 52bde3b0..304abb18 100644 --- a/app/vector_database/database.py +++ b/app/vector_database/database.py @@ -21,6 +21,7 @@ def __init__(self): self.lectures = init_lecture_schema(self.client) def __del__(self): + logger.info("Closing Weaviate client") self.client.close() def delete_collection(self, collection_name):