(self)
| 5773 | class Dropped(httpx2.SyncByteStream): |
| 5774 | @override |
| 5775 | def __iter__(self) -> Iterator[bytes]: |
| 5776 | yield sse(cut_tool_stream_events()) |
| 5777 | raise httpx2.ReadError("connection dropped") |
| 5778 | |
| 5779 | headers = {"content-type": "text/event-stream", **RESPONSE_HEADERS} |
| 5780 | respx_mock.post("/v1/messages").mock(return_value=httpx2.Response(200, stream=Dropped(), headers=headers)) |
nothing calls this directly
no test coverage detected