def make_filter_specification(cls, filter_string): """ Converts the given CQL filter expression into a filter specification. """ try: return parse_filter(filter_string) except ParseException as err: raise ValueError('Expression parameters have errors. %s' % err)
def make_filter_specification(cls, filter_string): """ Extracts the "query" parameter from the given request and converts the given query string into a filter specification. """ try: return parse_filter(filter_string) except ParseException, err: raise ValueError('Expression parameters have errors. %s' % err)