code: def test_nested_recipes(data):
      adapter = Adapter(
          {
              "X": [{"a": [E("input_1", "features")]}],
              "Y": {"a": [{"b": E("input_2", "extra_features")}]},
          }
      )
      res = adapter.adapt(data)
  
      assert res["X"] == [{"a": [data["input_1"]["features"]]}]
      assert res["Y"] == {
          "a": [{"b": data["input_2"]["extra_features"]}]
      }
  
file_path: steppy/tests/test_adapter.py
imports: import numpy
  import pytest
  from steppy.adapter import Adapter, E
label_desc: Use image node_id 8 for calling a global function with example usage: test_nested_recipes(data) without return types