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

Class Held

tests/utils.py:303–308  ·  view source on GitHub ↗

What the caller holds of a response.

Source from the content-addressed store, hash-verified

301
302@dataclass(frozen=True)
303class Held(Generic[_RequestedT, _KeptT]):
304 """What the caller holds of a response."""
305
306 request: Callable[[Request], _RequestedT]
307 keep: Callable[[_RequestedT], _KeptT]
308 iterate: Callable[[_KeptT], Iterator[object]]
309
310
311def stream(request: Request) -> Stream[object]:

Callers 1

utils.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected