docs: def normalize_url(url: str) -> str:
      """
      Remove leading and trailing slashes from a URL
  
      :param url: URL
      :return: URL with no leading and trailing slashes
  
      :private:
      """
      if url.startswith('/'):
          url = url[1:]
  
      if url.endswith('/'):
          url = url[:-1]
  
      return url