MCPcopy
hub / github.com/anthropics/anthropic-sdk-python / MissingStreamClassError

Class MissingStreamClassError

src/anthropic/_legacy_response.py:371–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369
370
371class MissingStreamClassError(TypeError):
372 def __init__(self) -> None:
373 super().__init__(
374 "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `anthropic._streaming` for reference",
375 )
376
377
378def to_raw_response_wrapper(func: Callable[P, R]) -> Callable[P, LegacyAPIResponse[R]]:

Callers 1

_parseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected