code: def test_show_toml(tmp_dir, dvc):
      tmp_dir.gen("params.toml", "[foo]\nbar = 42\nbaz = [1, 2]\n")
      dvc.run(
          cmd="echo params.toml",
          params=["params.toml:foo"],
          name="echo-params",
      )
      assert dvc.params.show() == {
          "": {
              "data": {
                  "params.toml": {
                      "data": {"foo": {"bar": 42, "baz": [1, 2]}}
                  }
              }
          }
      }
  
file_path: dvc/tests/func/params/test_show.py
imports: from os.path import join
  import pytest
  from dvc.repo import Repo
  from dvc.repo.stage import PROJECT_FILE
label_desc: Use image node_id 4 for calling a global function with example usage: test_show_toml(tmp_dir, dvc) without return types