code: def test_recursive_dict_get_item():
      dict_values = {"hp": 1, "stepa__hp": 2, "stepa__stepb__hp": 3}
      r = HyperparameterSamples(**dict_values)
  
      assert r[None] == {"hp": 1}
      assert r["hp"] == 1
      assert r["stepa"].to_flat_dict() == {"hp": 2, "stepb__hp": 3}
      assert r["stepa__hp"] == 2
      assert r["stepa"][None] == {"hp": 2}
      assert r["stepa__stepb"].to_flat_dict() == {"hp": 3}
      assert r["stepa__stepb"][None] == {"hp": 3}
      assert r["stepa__stepb__hp"] == 3
  
file_path: Neuraxle/testing_neuraxle/test_recursive_dict.py
imports: import pytest
  from neuraxle.hyperparams.space import RecursiveDict, HyperparameterSamples
label_desc: Use image node_id 4 for calling a global function with example usage: test_recursive_dict_get_item() without return types