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

Method __setstate__

httpx/_models.py:508–512  ·  httpx/_models.py::Request.__setstate__
(self, state: dict[str, typing.Any])

Source from the content-addressed store, hash-verified

506 }
507
508 def __setstate__(self, state: dict[str, typing.Any]) -> None:
509 for name, value in state.items():
510 setattr(self, name, value)
511 self.extensions = {}
512 self.stream = UnattachedStream()
513
514
515class Response:

Callers

nothing calls this directly

Calls 2

UnattachedStreamClass · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected