code: def results_path(self, value):
      self._results_path = value
      if self._results_path is None:
          G.warn(
              "Received results_path=None. Results will not be stored at all."
          )
      elif isinstance(self._results_path, str):
          if not self._results_path.endswith(ASSETS_DIRNAME):
              self._results_path = os.path.join(
                  self._results_path, ASSETS_DIRNAME
              )
              # self.result_paths["root"] = self.results_path
          if not os.path.exists(self._results_path):
              make_dirs(self._results_path, exist_ok=True)
      else:
          raise TypeError(
              f"results_path must be None or str, not {value}"
          )
  
imports: from hyperparameter_hunter.callbacks.bases import BaseCallback
  from hyperparameter_hunter.i_o.reporting import ReportingHandler
  from hyperparameter_hunter.keys.makers import CrossExperimentKeyMaker
  from hyperparameter_hunter.metrics import format_metrics
  from hyperparameter_hunter.sentinels import DatasetSentinel
  from hyperparameter_hunter.settings import G, ASSETS_DIRNAME, RESULT_FILE_SUB_DIR_PATHS
  from hyperparameter_hunter.utils.boltons_utils import remap
  from hyperparameter_hunter.utils.file_utils import make_dirs, ParametersFromFile
  from hyperparameter_hunter.utils.general_utils import Alias
  from hyperparameter_hunter.utils.result_utils import format_predictions, default_do_full_save
  from inspect import signature, isclass
  import numpy
  import os.path
  import pandas
  from pandas.api.types import is_numeric_dtype
  from typing import List, Optional, Tuple, Union
  from sklearn.model_selection import _split
label_desc: Use image node_id 5 for calling the Environment obj's underlying member method code with example usage: obj.results_path(value) without return types