- The
restoremethod is updated across Python and Rust components of LanceDB to accept an optionalversionargument, enabling more flexible restoration of historical table versions. - Python async bindings in
_lancedb.pyiandtable.pyare updated to reflect the new method signaturerestore(version: Optional[int] = None), aligning type hints and implementations. - The remote table interface in
remote/table.pyincludes a correspondingrestoremethod, bridging the sync API to the async backend with version support. - The Rust FFI layer (
table.rs) is modified to accept the optionalversionargument, with logic that performs acheckout(version)if specified, before proceeding torestore(), improving control over the restore flow. - The
RemoteTableimplementation inremote/table.rsnow constructs and sends a versioned restore request via HTTP, enabling client-side version-specific restoration even in cloud deployments. - Docstrings and comments are added or expanded to explain the behavior of the
restorefunction, particularly the no-op case when restoring the latest version, enhancing code maintainability and developer understanding.