Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions python/python/lance/lance/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -582,5 +582,14 @@ class ScanStatistics:
str, int
] # Additional metrics for debugging purposes. Subject to change.

class DatasetBasePath:
def __init__(
self,
path: str,
name: Optional[str] = None,
is_dataset_root: bool = False,
id: Optional[int] = None,
) -> None: ...

__version__: str
language_model_home: Callable[[], str]
2 changes: 1 addition & 1 deletion python/src/dataset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ impl<'py> IntoPyObject<'py> for PyLance<&ColumnOrdering> {
}

/// Python binding for BasePath
#[pyclass(name = "DatasetBasePath", module = "lance")]
#[pyclass(name = "DatasetBasePath", module = "_lib")]
#[derive(Clone)]
pub struct DatasetBasePath {
#[pyo3(get)]
Expand Down