

def __get__(self, instance, instance_type=None):
    if (instance_type is not None):
        return self.get_object_or_id(instance)
    return self.field

dataset/ETHPy150Open coleifer/peewee/peewee.py RelationDescriptor.__get__/VarMisuse@18/23 `instance`->`instance_type`