EpisodeEventLog

class maze.core.log_events.episode_event_log.EpisodeEventLog(episode_id: str)

Keeps logs of all events dispatched by an environment during one episode.

Parameters

episode_id – ID of the episode the events belong to

query_events(event_spec: Union[Callable, Iterable[Callable]]) → Iterable

Query events across the whole episode.

Parameters

event_spec – Specification of events to query

Returns

List of events from this episode that