def METHOD_NAME(self) -> Mapping[str, Union[str, float]]:
    if self.is_error:
        return {
            "stage": self.stage.value.short,
            "error": self.error.short,
            "message": self.message,
        }
    else:
        return {
            "stage": self.stage.value.short,
            "progress": self.progress,
            "message": self.message,
        }