def parse_like_term(term):
    if term.startswith('^'):
        stmt = '%s%%' % term[1:]
    elif term.startswith('='):
        stmt = term[1:]
    else:
        stmt = term % '%%%s%%'

    return stmt
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/contrib/sqla/tools.py/parse_like_term/swapped operands of `%`