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

Method handle_async_request

tests/test_client.py:92–97  ·  view source on GitHub ↗
(
        self,
        request: httpx2.Request,
    )

Source from the content-addressed store, hash-verified

90
91 @override
92 async def handle_async_request(
93 self,
94 request: httpx2.Request,
95 ) -> httpx2.Response:
96 assert inspect.iscoroutinefunction(self.handler), "handler must be a coroutine function"
97 return await self.handler(request)
98
99
100@dataclasses.dataclass

Callers

nothing calls this directly

Calls 1

handlerMethod · 0.45

Tested by

no test coverage detected