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

Method __getstate__

httpx/_models.py:501–506  ·  httpx/_models.py::Request.__getstate__
(self)

Source from the content-addressed store, hash-verified

499 return fclass="st">"<{class_name}({self.method!r}, {url!r})>"
500
501 def __getstate__(self) -> dict[str, typing.Any]:
502 return {
503 name: value
504 for name, value in self.__dict__.items()
505 if name not in [class="st">"extensions", class="st">"stream"]
506 }
507
508 def __setstate__(self, state: dict[str, typing.Any]) -> None:
509 for name, value in state.items():

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected