From b4131f1d8c626406795dbfb7cd7724ff6adb1980 Mon Sep 17 00:00:00 2001 From: Alan Konarski Date: Tue, 24 Sep 2024 14:51:49 +0200 Subject: [PATCH] Remove prints --- .../ragbits/document_search/ingestion/providers/unstructured.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/ragbits-document-search/src/ragbits/document_search/ingestion/providers/unstructured.py b/packages/ragbits-document-search/src/ragbits/document_search/ingestion/providers/unstructured.py index 5b01ddd1..3d63790b 100644 --- a/packages/ragbits-document-search/src/ragbits/document_search/ingestion/providers/unstructured.py +++ b/packages/ragbits-document-search/src/ragbits/document_search/ingestion/providers/unstructured.py @@ -71,8 +71,6 @@ def client(self) -> UnstructuredClient: if self._client is not None: return self._client if (api_key := os.getenv(UNSTRUCTURED_API_KEY_ENV)) is None: - print(api_key) - print("I should raise here") raise ValueError(f"{UNSTRUCTURED_API_KEY_ENV} environment variable is not set") if (server_url := os.getenv(UNSTRUCTURED_SERVER_URL_ENV)) is None: raise ValueError(f"{UNSTRUCTURED_SERVER_URL_ENV} environment variable is not set")