code: def _convert_args(args):
      '''
      Take a list of args, and convert any dicts inside the list to keyword
      args in the form of `key=value`, ready to be passed to salt-ssh
      '''
      converted = []
      for arg in args:
          if isinstance(arg, dict):
              for key in list(arg.keys()):
                  if key == '__kwarg__':
                      continue
                  converted.append('{0}={1}'.format(key, arg[key]))
          else:
              converted.append(arg)
      return convertef _convert_args(args):
      '''
      Take a list of args, and convert any dicts inside the list to keyword
      args in the form of `key=value`, ready to be passed to salt-ssh
      '''
      converted = []
      for arg in args:
          if isinstance(arg, dict):
              for key in list(arg.keys()):
                  if key == '__kwarg__':
                      continue
                  converted.append('{0}={1}'.format(key, arg[key]))
          else:
              converted.append(arg)
      return converted
docs: Take a list of args, and convert any dicts inside the list to keyword
      args in the form of `key=value`, ready to be passed to salt-ssh