code: def get_kwargs(self, **kwargs):
          
          new = dict((mitogen.core.UnicodeType(k), kwargs[k])
                     for k in kwargs)
          new.setdefault('good_temp_dir',
              self._inv.connection.get_good_temp_dir())
          new.setdefault('cwd', self._inv.connection.get_default_cwd())
          new.setdefault('extra_env', self._inv.connection.get_default_env())
          new.setdefault('emulate_tty', True)
          new.setdefault('service_context', self._inv.connection.parent)
          return new
docs: If :meth:`detect` returned :data:`True`, plan for the module's
          execution, including granting access to or delivering any files to it
          that are known to be absent, and finally return a dict::
  
              {
                  # Name of the class from runners.py that implements the
                  # target-side execution of this module type.
                  "runner_name": "...",
  
                  # Remaining keys are passed to the constructor of the class
                  # named by `runner_name`.
              }