Function cpython::serde::to_py_object

source ·
pub fn to_py_object<T>(py: Python<'_>, value: &T) -> PyResult<PyObject>
where T: Serialize,
Expand description

Serialize into Python object.