Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
57
def
_generate_faulty_stream() -> Generator[bytes, None, None]:
58
yield
b
"Ok"
59
raise
Exception(
"Faulty Stream"
)
60
61
62
class
NoResponse:
Callers
1
exc_stream
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected