from __future__ import annotations from event_emitter_asyncio.EventEmitter import EventEmitter class EventService(EventEmitter): instance: EventService = None @staticmethod def create() -> EventService: if EventService.instance is None: EventService.instance = EventService() return EventService.instance