def get_metrics_info(self): return [MetricInfo.from_class(type(self))]
def get_metrics_info(self) -> List[MetricInfo]: metric_names = [f'TotalCurseWords_{tag}' for tag in ALL_TAGS] metric_names.append('TotalCurseWords') return [MetricInfo(metric_name) for metric_name in metric_names]