#[doc(hidden)] pub fn extract_argument_with_default<'a, 'py, T>(
obj: Option<&'a Bound<'py, PyAny>>,
holder: &'a mut T::Holder,
arg_name: &str,
default: fn() -> T,
) -> PyResult<T>where
T: PyFunctionArgument<'a, 'py>,
Expand description
Alternative to extract_argument
used when the argument has a default value provided by an annotation.