Beispiel #1
0
    def event_bus(self) -> Endpoint:
        if self.context is None:
            raise EventBusNotReady("Tried accessing ``event_bus`` before ``ready`` was called")

        return self.context.event_bus