from guillotina.contrib.workflows.interfaces import IWorkflowChangedEvent
from guillotina.events import ObjectEvent
from zope.interface import implementer


@implementer(IWorkflowChangedEvent)
class WorkflowChangedEvent(ObjectEvent):
    """An object has been moved"""

    def __init__(self, object, workflow, action, comments):
        ObjectEvent.__init__(self, object)
        self.object = object
        self.workflow = workflow
        self.action = action
        self.comments = comments

[((6, 1, 6, 35), 'zope.interface.implementer', 'implementer', ({(6, 13, 6, 34): 'IWorkflowChangedEvent'}, {}), '(IWorkflowChangedEvent)', False, 'from zope.interface import implementer\n'), ((11, 8, 11, 42), 'guillotina.events.ObjectEvent.__init__', 'ObjectEvent.__init__', ({(11, 29, 11, 33): 'self', (11, 35, 11, 41): 'object'}, {}), '(self, object)', False, 'from guillotina.events import ObjectEvent\n')]