code: def test_show_py(tmp_dir, dvc):
      tmp_dir.gen(
          "params.py",
          "CONST = 1\nIS_DIR: bool = True\n\n\nclass Config:\n    foo = 42\n",
      )
      dvc.run(
          cmd="echo params.py",
          params=["params.py:CONST,IS_DIR,Config.foo"],
          name="echo-params",
      )
      assert dvc.params.show() == {
          "": {
              "data": {
                  "params.py": {
                      "data": {
                          "CONST": 1,
                          "Config": {"foo": 42},
                          "IS_DIR": True,
                      }
                  }
              }
          }
      }
  
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 5 for calling a global function with example usage: test_show_py(tmp_dir, dvc) without return types