pub fn from_py_with<'a, 'py, T>(
obj: &'a Bound<'py, PyAny>,
arg_name: &str,
extractor: fn(&'a Bound<'py, PyAny>) -> PyResult<T>,
) -> PyResult<T>Expand description
Alternative to extract_argument used when the argument has a #[pyo3(from_py_with)] annotation.