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

Function _runner_class

tests/lib/tools/test_runners.py:3573–3576  ·  view source on GitHub ↗
(*, sync: bool, stream: bool)

Source from the content-addressed store, hash-verified

3571
3572
3573def _runner_class(*, sync: bool, stream: bool) -> Any:
3574 if sync:
3575 return BetaStreamingToolRunner if stream else BetaToolRunner
3576 return BetaAsyncStreamingToolRunner if stream else BetaAsyncToolRunner
3577
3578
3579def _weather_then_browser_replies(stream: bool) -> List[httpx2.Response]:

Calls

no outgoing calls

Tested by

no test coverage detected