chore: update lance dependency to v2.0.0-rc.4 (#2972)

This commit is contained in:
Jack Ye
2026-02-03 14:38:39 -08:00
committed by GitHub
parent fbf4a53475
commit bd2c6d0763
18 changed files with 464 additions and 580 deletions

View File

@@ -12,7 +12,7 @@ pub struct PyHeaderProvider {
impl Clone for PyHeaderProvider {
fn clone(&self) -> Self {
Python::with_gil(|py| Self {
Python::attach(|py| Self {
provider: self.provider.clone_ref(py),
})
}
@@ -25,7 +25,7 @@ impl PyHeaderProvider {
/// Get headers from the Python provider (internal implementation)
fn get_headers_internal(&self) -> Result<HashMap<String, String>, String> {
Python::with_gil(|py| {
Python::attach(|py| {
// Call the get_headers method
let result = self.provider.call_method0(py, "get_headers");