

@classmethod
def _add_class_transition(cls, event, from_, to, action, guard):
    transition = _Transition(event, [cls._class_states[s] for s in _listize(from_)], cls._class_states[to], action, guard)
    cls._class_transitions.append(transition)
    setattr(s, event, transition.event_method())

dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py StateMachine._add_class_transition/VarMisuse@68/81 `cls`->`s`