code: def __init__(self, default_conf):
      self.__dict__["_default_config"] = copy.deepcopy(
          default_conf
      )  # avoiding conflicts with __getattr__
      self.reset()
  
imports: from __future__ import annotations
  import os
  import re
  import copy
  import logging
  import platform
  import multiprocessing
  from pathlib import Path
  from typing import Callable, Optional, Union
  from typing import TYPE_CHECKING
  from qlib.constant import REG_CN, REG_US, REG_TW
label_desc: Use image node_id 1 to create a new Config object  with example: obj = Config(default_conf)