def event_method(self):
        def generated_event(machine, *args, **kwargs):
            these_transitions = machine._process_transitions(self.event, *args, **kwargs)
        generated_event.__doc__ = 'event %s' % self.event
        generated_event.__name__ = self.event
        return generated_event
dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py/_Transition.event_method/original