events
events
¶
Event stream API endpoints.
Provides SSE and JSON endpoints backed by DaemonEventBridge.
Router registration happens in app.py (stage 6).
Classes¶
Functions¶
get_event_bridge
¶
Return the module-level event bridge instance.
Raises RuntimeError if not yet configured (bridge is set when
the router is registered in app.py — stage 6).
Source code in src/marianne/dashboard/routes/events.py
set_event_bridge
¶
stream_all_events
async
¶
SSE stream of events across all active jobs.
Used by the global event timeline on the dashboard index page.
Source code in src/marianne/dashboard/routes/events.py
get_observer_events
async
¶
JSON endpoint returning recent observer events for a job.