code: def parse_list_arg(value, vtype=str):
      # Used to allow providing empty string ("") as command line argument
      if value is None or value == "None":
          value = ""
  
      alist = list(
          [vtype(v.strip()) for v in value.split(",") if v != ""]
      )
      return alist
  
file_path: Merlin/examples/quick_start/scripts/ranking/args_parsing.py
imports: import argparse
  from enum import Enum
label_desc: Use image node_id 3 for calling a global function with example usage: parse_list_arg(value, vtype) and returns: alist