napf.base.validate_metric_input# napf.base.validate_metric_input(metric)[source]# internal use fn for metric validation Parameters: metric (int or str) Returns: m – validated metric casted to int. Return type: int