From f9a22dc3b0b70b025a7eb05faa058c6aabe70457 Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Tue, 12 Mar 2024 13:19:08 +0000 Subject: [PATCH] Update error message to reflect new API key loading --- src/datalab_api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datalab_api/__init__.py b/src/datalab_api/__init__.py index 4701f0f..4824507 100644 --- a/src/datalab_api/__init__.py +++ b/src/datalab_api/__init__.py @@ -149,7 +149,7 @@ def _find_api_key(self) -> str: if api_key is None: raise ValueError( - f"No API key provided explicitly and no key found in environment variables {key_env_var}/_{key_env_var}." + f"No API key found in environment variables {key_env_var}/_{key_env_var}." ) self._api_key = api_key