class_docstr: Testing the instantiation utilities functionality that is not tested in
  main `AxClient` testing suite (`TestServiceAPI`).
class_docstr_tok: ["Testing","the","instantiation","utilities","functionality","that","is","not","tested","in","main","`","AxClient","`","testing","suite","(","`","TestServiceAPI","`",")","."]
code: def test_hss(self) -> None:
      parameter_dicts = [
          {
              "name": "root",
              "type": "fixed",
              "value": "HierarchicalSearchSpace",
              "dependents": {
                  "HierarchicalSearchSpace": ["foo_or_bar", "bazz"]
              },
          },
          {
              "name": "foo_or_bar",
              "type": "choice",
              "values": ["Foo", "Bar"],
              "dependents": {"Foo": ["an_int"], "Bar": ["a_float"]},
          },
          {
              "name": "an_int",
              "type": "choice",
              "values": [1, 2, 3],
              "dependents": None,
          },
          {"name": "a_float", "type": "range", "bounds": [1.0, 1000.0]},
          {
              "name": "bazz",
              "type": "fixed",
              "value": "Bazz",
              "dependents": {"Bazz": ["another_int"]},
          },
          {"name": "another_int", "type": "fixed", "value": "2"},
      ]
      search_space = InstantiationBase.make_search_space(
          # pyre-fixme[6]: For 1st param expected `List[Dict[str, Union[None, Dict[...
          parameters=parameter_dicts,
          parameter_constraints=[],
      )
      self.assertIsInstance(search_space, HierarchicalSearchSpace)
      # pyre-fixme[16]: `SearchSpace` has no attribute `_root`.
      self.assertEqual(search_space._root.name, "root")
  
file_path: Ax/ax/service/tests/test_instantiation_utils.py
imports: from typing import Any, Dict
  from ax.core.metric import Metric
  from ax.core.optimization_config import MultiObjectiveOptimizationConfig
  from ax.core.parameter import FixedParameter, ParameterType, RangeParameter
  from ax.core.search_space import HierarchicalSearchSpace
  from ax.exceptions.core import UnsupportedError
  from ax.service.utils.instantiation import InstantiationBase
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import checked_cast
label_desc: Use image node_id 8 for calling the TestInstantiationtUtils obj's underlying member method code with example usage: obj.test_hss() without return types