code: def remove_password_from_url(url):
      # type: (S) -> S
      
  
      parsed = _get_parsed_url(url)
      if parsed.auth:
          auth, _, _ = parsed.auth.partition(":")
          return parsed._replace(auth="{auth}:----".format(auth=auth)).url
      return parsed.url
docs: Given a url, remove the password and insert 4 dashes
  
      :param url: The url to replace the authentication in
      :type url: S
      :return: The new URL without authentication
      :rtype: S