yams #9933 change relation definition syntax [open]

  • no more relation defined inside the class defining an Entity

  • no more SubjectRelation and ObjectRelation

  • no more Entity.add_relation()

  • only usage becomes

    from yams.buildobjs import Relation, N, composite)
    # define Person, Company, Order, WorkOrder
    works_for = Relation(Person[0,N], Company[0,1])
    split_into = Relation(Order[1][composite], WorkOrder[1,N])
    
prioritynormal
typeenhancement
done in1.0.0
load0.500
load left0.500
closed by<not specified>