Function pyo3::impl_::extract_argument::from_py_with

source ·
#[doc(hidden)] pub fn from_py_with<'a, 'py, T>(
    obj: &'a Bound<'py, PyAny>,
    arg_name: &str,
    extractor: impl Into<Extractor<'a, 'py, T>>
) -> PyResult<T>
Expand description

Alternative to extract_argument used when the argument has a #[pyo3(from_py_with)] annotation.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here