entity.py
changeset 4023 eae23c40627a
parent 3998 94cc7cad3d2d
child 4049 5838a4b0766d
equal deleted inserted replaced
4022:934e758a73ef 4023:eae23c40627a
    23 from cubicweb.selectors import yes
    23 from cubicweb.selectors import yes
    24 from cubicweb.appobject import AppObject
    24 from cubicweb.appobject import AppObject
    25 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint
    25 from cubicweb.schema import RQLVocabularyConstraint, RQLConstraint
    26 from cubicweb.rqlrewrite import RQLRewriter
    26 from cubicweb.rqlrewrite import RQLRewriter
    27 
    27 
    28 from cubicweb.common.uilib import printable_value, soup2xhtml
    28 from cubicweb.uilib import printable_value, soup2xhtml
    29 from cubicweb.common.mixins import MI_REL_TRIGGERS
    29 from cubicweb.mixins import MI_REL_TRIGGERS
    30 from cubicweb.common.mttransforms import ENGINE
    30 from cubicweb.mttransforms import ENGINE
    31 
    31 
    32 _marker = object()
    32 _marker = object()
    33 
    33 
    34 def greater_card(rschema, subjtypes, objtypes, index):
    34 def greater_card(rschema, subjtypes, objtypes, index):
    35     for subjtype in subjtypes:
    35     for subjtype in subjtypes: