MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / transport

Method transport

tests/utils.py:212–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 self.close()
211
212 def transport(self) -> httpx2.MockTransport:
213 return httpx2.MockTransport(lambda _: httpx2.Response(200, stream=self))
214
215 async def wait_closed(self) -> None:
216 """An event loop closes what was dropped once it gets to run, and one generator after the other."""

Callers 2

requesterFunction · 0.80
async_requesterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected