From 8b15fbca3cbf6d75d205f2ed47a274803c325c2e Mon Sep 17 00:00:00 2001 From: "min.tian" Date: Wed, 30 Oct 2024 15:46:16 +0800 Subject: [PATCH] fix weaviate client bug Signed-off-by: min.tian --- vectordb_bench/backend/clients/weaviate_cloud/weaviate_cloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vectordb_bench/backend/clients/weaviate_cloud/weaviate_cloud.py b/vectordb_bench/backend/clients/weaviate_cloud/weaviate_cloud.py index 4c8bd12da..d8fde5f09 100644 --- a/vectordb_bench/backend/clients/weaviate_cloud/weaviate_cloud.py +++ b/vectordb_bench/backend/clients/weaviate_cloud/weaviate_cloud.py @@ -23,7 +23,7 @@ def __init__( **kwargs, ): """Initialize wrapper around the weaviate vector database.""" - db_config.update("auth_client_secret", weaviate.AuthApiKey(api_key=db_config.get("auth_client_secret"))) + db_config.update({"auth_client_secret": weaviate.AuthApiKey(api_key=db_config.get("auth_client_secret"))}) self.db_config = db_config self.case_config = db_case_config self.collection_name = collection_name