code: def print_results_from_args(args: argparse.Namespace):
      
      path = args.path
      metrics_name = args.metrics_filename
      keys = args.keys
  
      results_dict = {}
      for root, _, files in os.walk(path):
  
          if metrics_name in files:
              full_name = os.path.join(root, metrics_name)
              metrics = json.load(open(full_name))
              results_dict[full_name] = metrics
  
  
      sorted_keys = sorted(list(results_dict.keys()))
      print(f"model_run, {', '.join(keys)}")
      for name in sorted_keys:
          results = results_dict[name]
          keys_to_print = [str(results.get(key, "N/A")) for key in keys]
          print(f"{name}, {', '.join(keys_to_print)}")
docs: Prints results from an ``argparse.Namespace`` object.