diff --git a/python/lancedb/remote/db.py b/python/lancedb/remote/db.py index c11cd673..2bb3d5fb 100644 --- a/python/lancedb/remote/db.py +++ b/python/lancedb/remote/db.py @@ -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 diff --git a/python/lancedb/remote/table.py b/python/lancedb/remote/table.py index 438a8de3..db171f4e 100644 --- a/python/lancedb/remote/table.py +++ b/python/lancedb/remote/table.py @@ -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