in python/src/internal.rs [396:411]
fn get_file_slices_between(
&self,
start_timestamp: Option<&str>,
end_timestamp: Option<&str>,
py: Python,
) -> PyResult<Vec<HudiFileSlice>> {
py.allow_threads(|| {
let file_slices = rt()
.block_on(
self.inner
.get_file_slices_between(start_timestamp, end_timestamp),
)
.map_err(PythonError::from)?;
Ok(file_slices.iter().map(HudiFileSlice::from).collect())
})
}