def _get_last_metrics(self, metric_values):
    return {metric: values[(- 1)] for (metric, values) in metric_values.items()}
def _get_last_metrics(self, metric_values):
    return {metric: values[(- 1)] for (metric, values) in metric_values.items()}