MCPcopy
hub / github.com/encode/starlette / _generate_faulty_stream

Function _generate_faulty_stream

tests/middleware/test_base.py:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56
57def _generate_faulty_stream() -> Generator[bytes, None, None]:
58 yield b"Ok"
59 raise Exception("Faulty Stream")
60
61
62class NoResponse:

Callers 1

exc_streamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected