code: def test_metadata_2():
      assert _util.metadata(
          freq="1H", prediction_length=2, cardinality=10
      ) == {
          "freq": "1H",
          "prediction_length": 2,
          "feat_static_cat": [
              {"name": "feat_static_cat_0", "cardinality": "10"}
          ],
      }
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_metadata_2() without return types