code: def set_license(self, license, **kwargs):
          
          data = {'license': license}
          return self.http_post('/license', post_data=data, **kwargs)
docs: Add a new license.
  
          Args:
              license (str): The license string
              **kwargs: Extra options to send to the server (e.g. sudo)
  
          Raises:
              GitlabAuthenticationError: If authentication is not correct
              GitlabPostError: If the server cannot perform the request
  
          Returns:
              dict: The new license information