code: def sys_config(config, config_path):
      """
      Configure the `sys` section
  
      Parameters
      ----------
      config : dict
          configuration of the workflow.
      config_path : str
          path of the configuration
      """
      sys_config = config.get("sys", {})
  
      # abspath
      for p in get_path_list(sys_config.get("path", [])):
          sys.path.append(p)
  
      # relative path to config path
      for p in get_path_list(sys_config.get("rel_path", [])):
          sys.path.append(
              str(Path(config_path).parent.resolve().absolute() / p)
          )
  
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 2 for calling a global function with example usage: sys_config(config, config_path) without return types