MCPcopy
hub / github.com/encode/httpx / __eq__

Method __eq__

httpx/_urls.py:371–372  ·  httpx/_urls.py::URL.__eq__
(self, other: typing.Any)

Source from the content-addressed store, hash-verified

369 return hash(str(self))
370
371 def __eq__(self, other: typing.Any) -> bool:
372 return isinstance(other, (URL, str)) and str(self) == str(URL(other))
373
374 def __str__(self) -> str:
375 return str(self._uri_reference)

Callers

nothing calls this directly

Calls 1

URLClass · 0.85

Tested by

no test coverage detected