code: def save_script(save=None):  # noqa: E501
      
      if connexion.request.is_json:
          save = Save.from_dict(connexion.request.get_json())  # noqa: E501
  
      if(not hasAccess()):
          return redirectUnauthorized()
  
      driver = LoadedDrivers.getDefaultDriver()
      driver.saveScript(save.script.name, save.script.content)
      return Response(status=200, body={'file-name': save.script.name})
docs: Save a script
  
      Save a script # noqa: E501
  
      :param Scripts: The data needed to save this script
      :type Scripts: dict | bytes
  
      :rtype: Response