from .eventbus import EventBus eventbus = EventBus() def init_eventbus(app): """ 初始化事件总线 """ eventbus.init_app(app)