

def __get__(self, instance, instance_type=None):
    if (instance is not None):
        return self.rel_model.select().where((self.field == getattr(self, self.field.to_field.name)))
    return self

dataset/ETHPy150Open coleifer/peewee/peewee.py ReverseRelationDescriptor.__get__/VarMisuse@44/51 `instance`->`self`