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

Method __getstate__

httpx/_models.py:862–867  ·  httpx/_models.py::Response.__getstate__
(self)

Source from the content-addressed store, hash-verified

860 return fclass="st">"<Response [{self.status_code} {self.reason_phrase}]>"
861
862 def __getstate__(self) -> dict[str, typing.Any]:
863 return {
864 name: value
865 for name, value in self.__dict__.items()
866 if name not in [class="st">"extensions", class="st">"stream", class="st">"is_closed", class="st">"_decoder"]
867 }
868
869 def __setstate__(self, state: dict[str, typing.Any]) -> None:
870 for name, value in state.items():

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected