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, )