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_single_valued_choice_to_fixed_param_conversion(self) -> None:
      for use_dependents in [True, False]:
          representation: Dict[str, Any] = {
              "name": "test",
              "type": "choice",
              "values": [1.0],
          }
          if use_dependents:
              representation["dependents"] = {
                  1.0: ["foo_or_bar", "bazz"]
              }
          output = checked_cast(
              FixedParameter,
              InstantiationBase.parameter_from_json(representation),
          )
          self.assertIsInstance(output, FixedParameter)
          self.assertEqual(output.value, 1.0)
          if use_dependents:
              self.assertEqual(
                  output.dependents, {1.0: ["foo_or_bar", "bazz"]}
              )
  
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 7 for calling the TestInstantiationtUtils obj's underlying member method code with example usage: obj.test_single_valued_choice_to_fixed_param_conversion() without return types