entities/wfobjs.py
changeset 4023 eae23c40627a
parent 4012 f6c65e04704c
child 4024 6a14cff373c3
equal deleted inserted replaced
4022:934e758a73ef 4023:eae23c40627a
    13 from logilab.common.deprecation import deprecated
    13 from logilab.common.deprecation import deprecated
    14 from logilab.common.compat import any
    14 from logilab.common.compat import any
    15 
    15 
    16 from cubicweb.entities import AnyEntity, fetch_config
    16 from cubicweb.entities import AnyEntity, fetch_config
    17 from cubicweb.interfaces import IWorkflowable
    17 from cubicweb.interfaces import IWorkflowable
    18 from cubicweb.common.mixins import MI_REL_TRIGGERS
    18 from cubicweb.mixins import MI_REL_TRIGGERS
    19 
    19 
    20 class WorkflowException(Exception): pass
    20 class WorkflowException(Exception): pass
    21 
    21 
    22 class Workflow(AnyEntity):
    22 class Workflow(AnyEntity):
    23     __regid__ = 'Workflow'
    23     __regid__ = 'Workflow'