(obj, name)
Helper function for request_from_dict
Helper function for request_from_dict
Helper function for request_from_dict
def _get_method(obj, name):
    """Helper function for request_from_dict"""
    name = str(name)
    try:
        return getattr(obj, name)
    except AttributeError:
        raise ValueError(f"Method {name!r} not found in: {obj}")
def _get_method ( obj , name ) : name = str ( name ) try : return getattr ( obj , name ) except AttributeError : raise ValueError ( f"Method {name!r} not found in: {obj}" )