

@classmethod
def create(cls, from_entity, to_entity):
    relation = cls(from_entity, to_entity)
    return CreateRelationEvent(relation)

dataset/ETHPy150Open eevee/flax/flax/relation.py Relation.create/original