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

Class MissingStreamClassError

src/anthropic/_response.py:601–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599
600
601class MissingStreamClassError(TypeError):
602 def __init__(self) -> None:
603 super().__init__(
604 "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `anthropic._streaming` for reference",
605 )
606
607
608class StreamAlreadyConsumed(AnthropicError):

Callers 1

_parseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected