Function pyo3::impl_::extract_argument::unwrap_required_argument
source · #[doc(hidden)] pub unsafe fn unwrap_required_argument<'a, 'py>(
argument: Option<&'a Bound<'py, PyAny>>
) -> &'a Bound<'py, PyAny>
Expand description
Unwraps the Option<&PyAny> produced by the FunctionDescription extract_arguments_
methods.
They check if required methods are all provided.
§Safety
argument
must not be None