fix(python): honor MPS accelerator in async indexing

This commit is contained in:
Gatefixer
2026-08-06 05:29:08 +00:00
parent 7357d63e87
commit 2a4f4f338b
5 changed files with 212 additions and 51 deletions
+4
View File
@@ -622,6 +622,10 @@ impl Table {
self.inner.is_some()
}
pub fn _is_native(&self) -> PyResult<bool> {
Ok(self.inner_ref()?.as_native().is_some())
}
/// Closes the table, releasing any resources associated with it.
pub fn close(&mut self) {
self.inner.take();