def local(self, *args, **kwargs):
        if 'local' not in self.client_cache:
            self.client_cache['local'] = salt.client.LocalClient(self.opts['conf_file'])
        try:
            self.client_cache['local'].cmd_async(*args, **kwargs)
        except SystemExit:
            log.warning('Attempt to exit reactor. Ignored.')
        except Exception as exc:
            log.warning('Exception caught by reactor: {0}'.format(exc))
Wrap LocalClient for running :ref:`execution modules <all-salt.modules>`
dataset/ETHPy150Open saltstack/salt/salt/utils/reactor.py/ReactWrap.local