Function cpython::serde::from_py_object
source · pub fn from_py_object<'de, T>(py: Python<'_>, obj: PyObject) -> Result<T, Error>where
T: Deserialize<'de>,
Expand description
Deserialize from Python object.
pub fn from_py_object<'de, T>(py: Python<'_>, obj: PyObject) -> Result<T, Error>where
T: Deserialize<'de>,
Deserialize from Python object.