from abc import ABC class Mediator(ABC): """ The Mediator interface declares a method used by components to notify the mediator about various events. The Mediator may react to these events and pass the execution to other components. """ def notify(self, sender: object, event: str) -> None: pass