From 358f86b9c6c242f2bd79f4ec20938342a25ec211 Mon Sep 17 00:00:00 2001 From: Lu Qiu Date: Thu, 12 Dec 2024 16:44:24 -0800 Subject: [PATCH] fix --- python/python/lancedb/remote/client.py | 2 +- python/python/lancedb/remote/db.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/python/lancedb/remote/client.py b/python/python/lancedb/remote/client.py index c6554a9d..243e0272 100644 --- a/python/python/lancedb/remote/client.py +++ b/python/python/lancedb/remote/client.py @@ -52,10 +52,10 @@ def _read_ipc(resp: requests.Response) -> pa.Table: @attrs.define(slots=False) class RestfulLanceDBClient: db_name: str - db_prefix: str | None region: str api_key: Credential host_override: Optional[str] = attrs.field(default=None) + db_prefix: Optional[str] = attrs.field(default=None) closed: bool = attrs.field(default=False, init=False) diff --git a/python/python/lancedb/remote/db.py b/python/python/lancedb/remote/db.py index 89a88654..764fb153 100644 --- a/python/python/lancedb/remote/db.py +++ b/python/python/lancedb/remote/db.py @@ -56,10 +56,10 @@ class RemoteDBConnection(DBConnection): self.api_key = api_key self._client = RestfulLanceDBClient( self.db_name, - self.db_prefix, region, api_key, host_override, + self.db_prefix, connection_timeout=connection_timeout, read_timeout=read_timeout, storage_options=storage_options,