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