def parse_route_attr_filter(route_attr_filter, debug=False):
assert isinstance(route_attr_filter, six.text_type), type(route_attr_filter)<EOL>parser = FilterExprParser(debug)<EOL>return parser.parse(route_attr_filter)<EOL>
Args:
    route_attr_filter (str): The raw command-line input of the route
        filter.

Returns:
    Tuple[FilterExpr, List[str]]: The second element is a list of errors.