

def _state_by_name(self, name):
    for state in state._state_objects():
        if (state.name == name):
            return state

dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py StateMachine._state_by_name/VarMisuse@15/19 `self`->`state`