diff --git a/python/python/lancedb/_lancedb.pyi b/python/python/lancedb/_lancedb.pyi index 5a26c9a9..68900a92 100644 --- a/python/python/lancedb/_lancedb.pyi +++ b/python/python/lancedb/_lancedb.pyi @@ -133,6 +133,7 @@ class Tags: async def update(self, tag: str, version: int): ... class IndexConfig: + name: str index_type: str columns: List[str] diff --git a/python/python/lancedb/remote/table.py b/python/python/lancedb/remote/table.py index ca8788a1..81d46d35 100644 --- a/python/python/lancedb/remote/table.py +++ b/python/python/lancedb/remote/table.py @@ -114,7 +114,7 @@ class RemoteTable(Table): index_type: Literal["BTREE", "BITMAP", "LABEL_LIST", "scalar"] = "scalar", *, replace: bool = False, - wait_timeout: timedelta = None, + wait_timeout: Optional[timedelta] = None, name: Optional[str] = None, ): """Creates a scalar index @@ -153,7 +153,7 @@ class RemoteTable(Table): column: str, *, replace: bool = False, - wait_timeout: timedelta = None, + wait_timeout: Optional[timedelta] = None, with_position: bool = False, # tokenizer configs: base_tokenizer: str = "simple",