equal
deleted
inserted
replaced
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' |