MCPcopy
hub / github.com/encode/starlette / __repr__

Method __repr__

starlette/datastructures.py:168–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 return self._url
167
168 def __repr__(self) -> str:
169 url = str(self)
170 if self.password:
171 url = str(self.replace(password="********"))
172 return f"{self.__class__.__name__}({repr(url)})"
173
174
175class URLPath(str):

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected