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

Function async_stream

tests/utils.py:336–337  ·  view source on GitHub ↗
(request: AsyncRequest)

Source from the content-addressed store, hash-verified

334
335
336async def async_stream(request: AsyncRequest) -> AsyncStream[object]:
337 return await request()
338
339
340async def async_raw_response(request: AsyncRequest) -> AsyncAPIResponse[AsyncStream[object]]:

Callers

nothing calls this directly

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected