def split_query(query: str) -> List[str]:
try:<EOL><INDENT>_query = query.strip()<EOL><DEDENT>except (ValueError, AttributeError):<EOL><INDENT>raise QueryParserException('<STR_LIT>'.format(query))<EOL><DEDENT>expressions = _query.split('<STR_LIT:U+002C>')<EOL>expressions = [exp.strip() for exp in expressions if exp.strip()]<EOL>if not expressions:<EOL><INDENT>raise QueryParserException('<STR_LIT>'.format(query))<EOL><DEDENT>return expressions<EOL>
Split a query into different expressions.

    Example:
        name:bla, foo:<=1