reformatted

This commit is contained in:
qzhu
2023-12-07 12:08:05 -08:00
parent 5f989e86d2
commit 8e25e0c7f0
2 changed files with 6 additions and 8 deletions

View File

@@ -59,7 +59,9 @@ class RemoteDBConnection(DBConnection):
return f"RemoveConnect(name={self.db_name})"
@override
def table_names(self, page_token: Optional[str] = None, limit: int = 10) -> Iterable[str]:
def table_names(
self, page_token: Optional[str] = None, limit: int = 10
) -> Iterable[str]:
"""List the names of all tables in the database.
Parameters

View File

@@ -56,15 +56,11 @@ class RemoteTable(Table):
return resp["version"]
def to_arrow(self) -> pa.Table:
"""to_arrow() is not supported on the LanceDB cloud
"""
"""to_arrow() is not supported on the LanceDB cloud"""
raise NotImplementedError("to_arrow() is not supported on the LanceDB cloud")
def to_pandas(self):
"""to_pandas() is not supported on the LanceDB cloud
"""
"""to_pandas() is not supported on the LanceDB cloud"""
return NotImplementedError("to_pandas() is not supported on the LanceDB cloud")
def create_index(
@@ -83,7 +79,7 @@ class RemoteTable(Table):
The metric to use for the index. Default is "L2".
vector_column_name : str
The name of the vector column. Default is "vector".
Examples
--------
>>> import lancedb