wei.routers.event_routes

Router for the “events” endpoints

Functions

get_all_events()

Returns all events stored in the event cache.

get_event(event_id)

Returns the details for a specific event given the id

log_event(event)

Logs a value to the log file for a given experiment

wei.routers.event_routes.get_all_events() Dict[str, Event]

Returns all events stored in the event cache.

wei.routers.event_routes.get_event(event_id: str) Event

Returns the details for a specific event given the id

wei.routers.event_routes.log_event(event: Event) Any

Logs a value to the log file for a given experiment