chore: update lance dependency to v1.0.3-rc.1

This commit is contained in:
lancedb automation
2026-01-21 08:51:12 +00:00
parent cd5f91bb7d
commit d1d7151824
11 changed files with 568 additions and 416 deletions

View File

@@ -288,10 +288,8 @@ impl Table {
future_into_py(self_.py(), async move {
let schema = inner.schema().await.infer_error()?;
#[allow(deprecated)]
let py_obj: Py<PyAny> = Python::with_gil(|py| -> PyResult<Py<PyAny>> {
let bound = schema.to_pyarrow(py)?;
Ok(bound.unbind())
})?;
let py_obj: Py<PyAny> =
Python::with_gil(|py| -> PyResult<Py<PyAny>> { schema.to_pyarrow(py) })?;
Ok(py_obj)
})
}