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

Method handle_async_request

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

Source from the content-addressed store, hash-verified

80
81 @override
82 async def handle_async_request(
83 self,
84 request: httpx2.Request,
85 ) -> httpx2.Response:
86 assert inspect.iscoroutinefunction(self.handler), "handler must be a coroutine function"
87 return await self.handler(request)
88
89
90@dataclasses.dataclass

Callers

nothing calls this directly

Calls 1

handlerMethod · 0.45

Tested by

no test coverage detected