Function get_attr_with_context

Source
pub fn get_attr_with_context<'a>(
    ob: &Bound<'a, PyAny>,
    attr_name: &str,
    context: &str,
) -> PyResult<Bound<'a, PyAny>>
Expand description

Enhanced error handling utilities for parsing Python AST objects Get an attribute from a Python object with better error messaging