pub fn pythonize<'py, T>( py: Python<'py>, value: &T, ) -> Result<Bound<'py, PyAny>>where T: ?Sized + Serialize,
Attempt to convert the given data into a Python object