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

Method as_dict

httpx/_config.py:132–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

130 self.pool = timeout if isinstance(pool, UnsetType) else pool
131
132 def as_dict(self) -> dict[str, float | None]:
133 return {
134 "connect": self.connect,
135 "read": self.read,
136 "write": self.write,
137 "pool": self.pool,
138 }
139
140 def __eq__(self, other: typing.Any) -> bool:
141 return (

Callers 2

build_requestMethod · 0.80
_set_timeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected