diff --git a/Cargo.toml b/Cargo.toml index 85cf8838..715a20a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ resolver = "2" [workspace.dependencies] -lance = "=0.5.8" +lance = "=0.5.9" arrow-array = "42.0" arrow-data = "42.0" arrow-schema = "42.0" diff --git a/python/lancedb/remote/client.py b/python/lancedb/remote/client.py index b5f98933..bf48dd38 100644 --- a/python/lancedb/remote/client.py +++ b/python/lancedb/remote/client.py @@ -105,7 +105,7 @@ class RestfulLanceDBClient: async def post( self, uri: str, - data: Union[Dict[str, Any], BaseModel, bytes], + data: Optional[Union[Dict[str, Any], BaseModel, bytes]] = None, params: Optional[Dict[str, Any]] = None, content_type: Optional[str] = None, deserialize: Callable = lambda resp: resp.json(), diff --git a/python/lancedb/remote/db.py b/python/lancedb/remote/db.py index 8529d4f6..dcbb3332 100644 --- a/python/lancedb/remote/db.py +++ b/python/lancedb/remote/db.py @@ -103,7 +103,7 @@ class RemoteDBConnection(DBConnection): self._loop.run_until_complete( self._client.post( - f"/v1/table/{name}/create", + f"/v1/table/{name}/create/", data=data, params={"request_id": request_id}, content_type=ARROW_STREAM_CONTENT_TYPE,