Skip to main content

params_to_pydict

Function params_to_pydict 

Source
pub fn params_to_pydict(py: Python<'_>, params: &Params) -> PyResult<Py<PyDict>>
Expand description

Converts Params (IndexMap<String, Value>) to a Python dict.

ยงErrors

Returns a PyErr if conversion of any value fails.