

def _run_action(self, action, *args, **kwargs):
    if callable(action):
        self._try_to_run_with_args(action, self.machine, *args, **kwargs)
    else:
        self._try_to_run_with_args(getattr(self.machine, action), *args, **kwargs)

dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py _ActionRunner._run_action/original