

def _create_state_getters(self):
    for state in self._state_objects():
        setattr(self, state.getter_name(), state.getter_method().__get__(self, self.__class__))

dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py StateMachine._create_state_getters/original