macro_rules! extract_py_attr {
($obj:expr, $attr:literal, $error_context:literal) => { ... };
}
Expand description
Macro for extracting PyAny attributes with consistent error handling.
macro_rules! extract_py_attr {
($obj:expr, $attr:literal, $error_context:literal) => { ... };
}
Macro for extracting PyAny attributes with consistent error handling.