def __init__(self, obj, workflow, old_state, new_state, transition, status, kwargs): ObjectEvent.__init__(self, obj) self.workflow = workflow self.old_state = old_state self.new_state = new_state self.transition = transition self.status = status self.kwargs = kwargs
def __init__(self, object, oldParent, oldName, newParent, newName): ObjectEvent.__init__(self, object) self.oldParent = oldParent self.oldName = oldName self.newParent = newParent self.newName = newName