def __get__(desc, self, cls):
        if self is None:
            return cls

        if desc.direction == 'subject':
            return RelationProxy(self.entity, desc.relation, self.entity.relates_to[desc.relation])
        elif desc.direction == 'object':
            return RelationProxy(self.entity, desc.relation, self.entity.related_to[desc.relation])
dataset/ETHPy150Open eevee/flax/flax/relation.py/RelationDescriptor.__get__/original