parameters: (self)
return_statement: return surl
docstring: url with user:password part removed unless it is formed with
          environment variables as specified in PEP 610, or it is ``git``
          in the case of a git URL.
docstring_summary: url with user:password part removed unless it is formed with
          environment variables as specified in PEP 610, or it is ``git``
          in the case of a git URL.
docstring_tokens: url with user : password part removed unless it is formed with environment variables as specified in PEP 610 or it is git in the case of a git URL .
function: def redacted_url(self):
          # type: () -> str
          """url with user:password part removed unless it is formed with
          environment variables as specified in PEP 610, or it is ``git``
          in the case of a git URL.
          """
          purl = urllib.parse.urlsplit(self.url)
          netloc = self._remove_auth_from_netloc(purl.netloc)
          surl = urllib.parse.urlunsplit(
              (purl.scheme, netloc, purl.path, purl.query, purl.fragment)
          )
          return surl
function_tokens: def redacted_url ( self ) : # type: () -> str purl = urllib . parse . urlsplit ( self . url ) netloc = self . _remove_auth_from_netloc ( purl . netloc ) surl = urllib . parse . urlunsplit ( ( purl . scheme , netloc , purl . path , purl . query , purl . fragment ) ) return surl