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

Method __setstate__

httpx/_models.py:869–874  ·  httpx/_models.py::Response.__setstate__
(self, state: dict[str, typing.Any])

Source from the content-addressed store, hash-verified

867 }
868
869 def __setstate__(self, state: dict[str, typing.Any]) -> None:
870 for name, value in state.items():
871 setattr(self, name, value)
872 self.is_closed = True
873 self.extensions = {}
874 self.stream = UnattachedStream()
875
876 def read(self) -> bytes:
877 class="st">"""

Callers

nothing calls this directly

Calls 2

UnattachedStreamClass · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected