def lookup_cast(self, lookup, value):
        if lookup == 'contains':
            return '*%s*' % value
        elif lookup == 'icontains':
            return '%%%s%%' % value
        elif lookup == 'startswith':
            return value % '%s*'
        elif lookup == 'istartswith':
            return '%s%%' % value
        return value
dataset/ETHPy150Open kuri65536/python-for-android/sl4atools/fullscreenwrapper2/examples/calcount2_example/peewee.py/SqliteAdapter.lookup_cast/swapped operands of `%`