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