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

Function async_parse

tests/utils.py:348–350  ·  view source on GitHub ↗
(response: AsyncAPIResponse[AsyncStream[object]])

Source from the content-addressed store, hash-verified

346
347
348async def async_parse(response: AsyncAPIResponse[AsyncStream[object]]) -> AsyncIterator[object]:
349 async for event in await response.parse():
350 yield event
351
352
353ASYNC_STREAMS = {

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected