code: def __init_url(self):
          
          portals_self_url = "{}/portals/self".format(self._url)
          params = {
              "f" :"json"
          }
          if not self._securityHandler is None:
              params['token'] = self._securityHandler.token
          res = self._get(url=portals_self_url,
                             param_dict=params,
                             securityHandler=self._securityHandler,
                             proxy_url=self._proxy_url,
                             proxy_port=self._proxy_port)
          if "helperServices" in res:
              helper_services = res.get("helperServices")
              if "hydrology" in helper_services:
                  analysis_service = helper_services.get("elevation")
                  if "url" in analysis_service:
                      self._analysis_url = analysis_service.get("url")
          self._gpService = GPService(url=self._analysis_url,
                                      securityHandler=self._securityHandler,
                                      proxy_url=self._proxy_url,
                                      proxy_port=self._proxy_port,
                                      initialize=False)
docs: loads the information into the class