class_docstr: Event aggregation object.
      
class_docstr_tok: ["Event","aggregation","object","."]
docstr: Notify the subscriber of a new event occurrence.
  
  :param event: the event
  :return: None
docstr_tok: ["Notify","the","subscriber","of","a","new","event","occurrence",".",":","param","event",":","the","event",":","return",":","None"]
code: def notify_event(self, event: EventRecord):
      """Notify the subscriber of a new event occurrence.
  
      :param event: the event
      :return: None
      """
      self.events.append(event)
  
file_path: maze/maze/core/events/pubsub.py
imports: import inspect
  from abc import ABC, abstractmethod
  from typing import Callable, List, Iterable, Dict, Union, Type, TypeVar
  from maze.core.events.event_collection import EventCollection
  from maze.core.events.event_service import EventScope, EventRecord, EventService
label_desc: Use image node_id 3 for calling the Subscriber obj's underlying member method code with example usage: obj.notify_event(event) without return types