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 _get_dataclass_filename_path(
      self,
      scope: ScopedLocation,
      _dataclass: Optional[SubDataclassT] = None,
  ):
      scope = self._patch_scope_for_dataclass(scope, _dataclass)
  
      save_folder = self.get_folder_at_scope(scope)
      save_file = os.path.join(save_folder, "metadata.json")
  
      return scope, save_folder, save_file
  
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 8 for calling the HyperparamsOnDiskRepository obj's underlying member method code with example usage: obj._get_dataclass_filename_path(scope, _dataclass) and returns: scope,  save_folder,  save_file