Macro extract_py_attr

Source
macro_rules! extract_py_attr {
    ($obj:expr, $attr:literal, $error_context:literal) => { ... };
}
Expand description

Macro for extracting PyAny attributes with consistent error handling.