From 5df377f1d451400aa7cbf9dc3c754e48cfa13c24 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Tue, 26 Mar 2024 23:14:47 +0100 Subject: [PATCH] Fix linting --- .../document_stores/weaviate/document_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py b/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py index 2600d1abc..414abd1fd 100644 --- a/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py +++ b/integrations/weaviate/src/haystack_integrations/document_stores/weaviate/document_store.py @@ -145,7 +145,7 @@ def __init__( if url and url.startswith("http") and url.endswith(".weaviate.network"): self._client = weaviate.connect_to_wcs( url, - auth_credentials=auth_client_secret.resolve_value(), + auth_credentials=auth_client_secret.resolve_value() if auth_client_secret else None, headers=additional_headers, additional_config=additional_config, )