

def apply(self, query, value):
    (term, data) = parse_like_term(value)
    flt = {
        ('%s__%s' % (self.column.name, term)): data,
    }
    return query.filter(**flt)

dataset/ETHPy150Open mrjoes/flask-admin/flask_admin/contrib/mongoengine/filters.py FilterLike.apply/original