def get_core_version(cls): if not cls.core_version: cls.core_version = Core.get_instance().settings.version if Core.is_created() else str(uuid.uuid4()) return cls.core_version