

def db_value(self, value):
    if isinstance(value, uuid.UUID):
        return value.hex
    try:
        return uuid.UUID(value).hex
    except:
        return self

dataset/ETHPy150Open coleifer/peewee/peewee.py UUIDField.db_value/VarMisuse@50/55 `value`->`self`