cubicweb/test/data/uppered_rtype.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 06 Oct 2016 12:15:50 +0200
changeset 11764 6ab14a1afb65
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[entity] Reimplement and deprecate entity.cw_metainformation It shouldn't rely anymore on cnx.entity_metas which is itself deprecated, and the cw_metainformation API is similarly not needed anymore, access directly to cwuri / cw_source if needed. Related to #15538288


from yams.buildobjs import RelationDefinition

class ARelation(RelationDefinition):
    subject = 'CWUser'
    object = 'CWGroup'