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

Class MissingStreamClassError

src/openai/_legacy_response.py:348–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346
347
348class MissingStreamClassError(TypeError):
349 def __init__(self) -> None:
350 super().__init__(
351 "The `stream` argument was set to `True` but the `stream_cls` argument was not given. See `openai._streaming` for reference",
352 )
353
354
355def 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