class_docstr: Hyperparams repository that saves json files for every AutoML trial.
  
  .. seealso::
      :class:`AutoML`,
      :class:`Trainer`,
class_docstr_tok: ["Hyperparams","repository","that","saves","json","files","for","every","AutoML","trial",".","..","seealso",":",":",":","class",":","`","AutoML","`",",",":","class",":","`","Trainer","`",","]
code: def __init__(self, cache_folder: str = None):
      HyperparamsRepository.__init__(self)
      _OnDiskRepositoryLoggerHandlerMixin.__init__(
          self, cache_folder=cache_folder
      )
      self._save_dc(RootDataclass(), scope=ScopedLocation(), deep=True)
  
imports: import json
  import os
  import shutil
  from copy import deepcopy
  from typing import List, Optional
  from neuraxle.logging.logging import NeuraxleLogger
  from neuraxle.metaopt.data.vanilla import BaseDataclass, DataclassHasListMixin, RootDataclass, ScopedLocation, SubDataclassT, dataclass_2_id_attr, from_json, to_json
  from neuraxle.metaopt.repositories.repo import HyperparamsRepository
label_desc: Use image node_id 1 to create a new HyperparamsOnDiskRepository object from inherited base classes: _OnDiskRepositoryLoggerHandlerMixin, HyperparamsRepository with example: obj = HyperparamsOnDiskRepository(cache_folder)