pub fn indexmap_to_pydict_pyo3<K, V>(
py: Python<'_>,
value: &IndexMap<K, V>,
) -> PyResult<Py<PyAny>>Expand description
Convert an [IndexMap] to a Python dict using typed PyO3 keys and values.
ยงErrors
Returns an error if any key or value cannot be converted to Python.