def get_instance(cls): if cls._instance is None: cls._instance = cls(get_extensions_path(), CrdManager.get_service_plugins()) return cls._instance