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

Method handle_async_request

tests/test_client.py:80–85  ·  view source on GitHub ↗
(
        self,
        request: httpx.Request,
    )

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

handlerMethod · 0.80

Tested by

no test coverage detected