code: def get_path_list(path):
      if isinstance(path, str):
          return [path]
      else:
          return list(path)
  
file_path: qlib/qlib/workflow/cli.py
imports: import logging
  import sys
  import os
  from pathlib import Path
  import qlib
  import fire
  import ruamel.yaml
  from qlib.config import C
  from qlib.model.trainer import task_train
  from qlib.utils.data import update_config
  from qlib.log import get_module_logger
  from qlib.utils import set_log_with_config
label_desc: Use image node_id 1 for calling a global function with example usage: get_path_list(path) and returns: list, list