code: def get_names(infos: List[List[Dict[str, List]]]) -> List[str]:
      """Get names of all parameters.
  
      Parameters
      ----------
      infos : list
          Content of the config header file.
  
      Returns
      -------
      names : list
          Names of all parameters.
      """
      names = []
      for x in infos:
          for y in x:
              names.append(y["name"][0])
      return names
  
file_path: LightGBM/helpers/parameter_generator.py
imports: import re
  from collections import defaultdict
  from pathlib import Path
  from typing import Dict, List, Tuple
label_desc: Use image node_id 2 for calling a global function with example usage: get_names(infos) and returns: names