code: def getResourceTypes(self):
          
          url = "{url_base}/resource/types".format(url_base=self.url_base)
  
          r = self._request('GET', url)
          if r.status_code != 200:
              raise HydroShareHTTPException((url, 'GET', r.status_code))
  
          resource_types = r.json()
          return set([t['resource_type'] for t in resource_types])
docs: Get the list of resource types supported by the HydroShare server
  
          :return: A set of strings representing the HydroShare resource types
  
          :raises: HydroShareHTTPException to signal an HTTP error