(metric_name)
return METRIC_DOTUNDERSCORE_CLEANUP.sub(".", metric_name).strip("_")
Normalize a metric name for the backend to understand it.
    This is the same metric that is used to validate the metadata.csv file
Normalize a metric name for the backend to understand it.
    This is the same metric that is used to validate the metadata.csv file
Normalize a metric name for the backend to understand it . This is the same metric that is used to validate the metadata . csv file
def backend_normalize_metric_name(metric_name):
    """
    Normalize a metric name for the backend to understand it.
    This is the same metric that is used to validate the metadata.csv file
    """
    metric_name = METRIC_REPLACEMENT.sub("_", metric_name)
    return METRIC_DOTUNDERSCORE_CLEANUP.sub(".", metric_name).strip("_")
def backend_normalize_metric_name ( metric_name ) : metric_name = METRIC_REPLACEMENT . sub ( "_" , metric_name ) return METRIC_DOTUNDERSCORE_CLEANUP . sub ( "." , metric_name ) . strip ( "_" )