

def coerce_to_unicode(s, encoding='utf-8'):
    if isinstance(s, unicode_type):
        return s
    elif isinstance(s, string_type):
        return s.decode(s)
    return unicode_type(s)

dataset/ETHPy150Open coleifer/peewee/peewee.py coerce_to_unicode/VarMisuse@43/55 `encoding`->`s`