def METHOD_NAME(
    message: str,
) -> Tuple[Optional[str], Optional[Union[Accuracies]]]:
    """Parse message and return its type and the data if possible.
    If the message does not contain plotable data return None.
    """
    accuracies_str = "app_fit: accuracies_centralized "
    if accuracies_str in message:
        values_str = re.sub(accuracies_str, "", message)
        values: Accuracies = ast.literal_eval(values_str)
        return "accuracies", values
    return None, None