

def db_value(self, value):
    if isinstance(value, unicode_type):
        value = self.encode('raw_unicode_escape')
    if isinstance(value, basestring):
        return self._constructor(value)
    return value

dataset/ETHPy150Open coleifer/peewee/peewee.py BlobField.db_value/VarMisuse@24/28 `value`->`self`