in python/src/internal.rs [320:338]
fn get_file_slices_splits(
&self,
n: usize,
filters: Option<Vec<(String, String, String)>>,
py: Python,
) -> PyResult<Vec<Vec<HudiFileSlice>>> {
py.allow_threads(|| {
let file_slices = rt()
.block_on(
self.inner
.get_file_slices_splits(n, filters.unwrap_or_default()),
)
.map_err(PythonError::from)?;
Ok(file_slices
.iter()
.map(|inner_vec| inner_vec.iter().map(HudiFileSlice::from).collect())
.collect())
})
}