MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _send_sse_event

Method _send_sse_event

deployments/desktop/server.py:527–529  ·  view source on GitHub ↗
(self, event: str, payload: Dict[str, Any])

Source from the content-addressed store, hash-verified

525 except Exception as exc:
526 self._send_json({"ok": False, "error": str(exc)}, status=HTTPStatus.BAD_REQUEST)
527
528 def _send_sse_event(self, event: str, payload: Dict[str, Any]) -> None:
529 self.wfile.write(_sse_bytes(event, payload))
530 self.wfile.flush()
531
532 def _handle_wiki_ask_stream(self, body: Dict[str, Any]) -> None:

Callers 1

Calls 1

_sse_bytesFunction · 0.85

Tested by

no test coverage detected