code: def log_metrics(metrics):
      for k, values in metrics.items():
          for v in values:
              mlflow.log_metric(k, v)
  
file_path: mlflow/tests/generate_ui_test_data.py
imports: import argparse
  import itertools
  import random
  import string
  from random import random
  import mlflow
  from mlflow import MlflowClient
label_desc: Use image node_id 1 for calling a global function with example usage: log_metrics(metrics) without return types