From c2aa03615a775b226e2a0f892f3120a78f742736 Mon Sep 17 00:00:00 2001 From: Tristan Zajonc Date: Thu, 24 Jul 2025 09:56:06 -0700 Subject: [PATCH] fix: correct grammar in LanceDB cloud connection error message (#2537) ## Summary Fixed a minor grammar error in the error message for missing API key when connecting to LanceDB cloud. ## Changes - Changed 'api_key is required to connected LanceDB cloud' to 'api_key is required to connect to LanceDB cloud' - Location: `python/python/lancedb/__init__.py:95` ## Test plan - Error message formatting is correct and grammatical - No functional changes to existing behavior --- python/python/lancedb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/python/lancedb/__init__.py b/python/python/lancedb/__init__.py index 03f4f513..f43a2b27 100644 --- a/python/python/lancedb/__init__.py +++ b/python/python/lancedb/__init__.py @@ -92,7 +92,7 @@ def connect( if api_key is None: api_key = os.environ.get("LANCEDB_API_KEY") if api_key is None: - raise ValueError(f"api_key is required to connected LanceDB cloud: {uri}") + raise ValueError(f"api_key is required to connect to LanceDB cloud: {uri}") if isinstance(request_thread_pool, int): request_thread_pool = ThreadPoolExecutor(request_thread_pool) return RemoteDBConnection(