def get_version(cls, version_id): version = VersionIndex.pull(version_id) if version is None: raise NotFoundException() return version.raw