Skip to content

Commit

Permalink
Update error message to reflect new API key loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Mar 12, 2024
1 parent 9ceb165 commit f9a22dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datalab_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}/<prefix>_{key_env_var}."
f"No API key found in environment variables {key_env_var}/<prefix>_{key_env_var}."
)

self._api_key = api_key
Expand Down

0 comments on commit f9a22dc

Please sign in to comment.