bump lance version for vectordb, fix minor bugs in lancedb remote client (#365)

This commit is contained in:
Rob Meng
2023-07-24 21:30:57 -04:00
committed by GitHub
parent 6fd465ceef
commit 147796ffcd
3 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -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(),

View File

@@ -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,