code: def __init__(
      self,
      conf_path: Union[str, Path] = DEFAULT_CONF,
      horizon=20,
      **kwargs,
  ) -> None:
      # This code is for being compatible with the previous old code
      conf_path = Path(conf_path)
      super().__init__(
          conf_path=conf_path,
          horizon=horizon,
          working_dir=DIRNAME,
          **kwargs,
      )
  
      for f in self.CONF_LIST:
          if conf_path.samefile(f):
              break
      else:
          self.logger.warning("Model type is not in the benchmark!")
  
file_path: qlib/examples/benchmarks_dynamic/DDG-DA/workflow.py
imports: from pathlib import Path
  from typing import Union
  import fire
  from qlib import auto_init
  from qlib.contrib.rolling.ddgda import DDGDA
  from qlib.tests.data import GetData
label_desc: Use image node_id 1 to create a new DDGDABench object from inherited base classes: DDGDA with example: obj = DDGDABench(conf_path, horizon)