MCPcopy
hub / github.com/openai/openai-python / MissingStreamClassError

Class MissingStreamClassError

src/openai/_response.py:577–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575
576
577class MissingStreamClassError(TypeError):
578 def __init__(self) -> None:
579 super().__init__(
580 "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `openai._streaming` for reference",
581 )
582
583
584class StreamAlreadyConsumed(OpenAIError):

Callers 1

_parseMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected