code: def action_set(values):
      
      cmd = ['action-set']
      for k, v in list(values.items()):
          cmd.append('{}={}'.format(k, v))
      subprocess.check_call(cmd)
docs: Sets the values to be returned after the action finishes