in hfendpoints-tasks/src/embedding/mod.rs [111:116]
fn inputs<'py>(slf: PyRef<'_, Self>, py: Python<'py>) -> PyResult<Bound<'py, PyAny>> {
match &slf.0.inputs {
MaybeBatched::Single(item) => item.into_bound_py_any(py),
MaybeBatched::Batch(items) => items.into_bound_py_any(py),
}
}