code: def test_prepare_hparams(
      must_exist_attributes, deeprec_resource_path
  ):
      wordEmb_file = os.path.join(
          deeprec_resource_path, "mind", "utils", "embedding.npy"
      )
      userDict_file = os.path.join(
          deeprec_resource_path, "mind", "utils", "uid2index.pkl"
      )
      wordDict_file = os.path.join(
          deeprec_resource_path, "mind", "utils", "word_dict.pkl"
      )
      yaml_file = os.path.join(
          deeprec_resource_path, "mind", "utils", r"nrms.yaml"
      )
  
      if not os.path.exists(yaml_file):
          download_deeprec_resources(
              r"https://recodatasets.z20.web.core.windows.net/newsrec/",
              os.path.join(deeprec_resource_path, "mind", "utils"),
              "MINDdemo_utils.zip",
          )
  
      hparams = prepare_hparams(
          yaml_file,
          wordEmb_file=wordEmb_file,
          wordDict_file=wordDict_file,
          userDict_file=userDict_file,
          epochs=1,
      )
      assert hasattr(hparams, must_exist_attributes)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_prepare_hparams(must_exist_attributes, deeprec_resource_path) without return types