code: def test_deps_multi_stage(tmp_dir, scm, dvc, run_copy):
      tmp_dir.gen(
          {
              "foo": "foo",
              "params.yaml": "foo: bar\nxyz: val\nabc: ignore",
          }
      )
      run_copy("foo", "bar", name="copy-foo-bar", params=["foo"])
      run_copy("foo", "bar1", name="copy-foo-bar-1", params=["xyz"])
  
      scm.add(["params.yaml", PROJECT_FILE])
      scm.commit("add stage")
  
      assert dvc.params.show(revs=["master"], deps_only=True) == {
          "master": {
              "data": {
                  "params.yaml": {"data": {"foo": "bar", "xyz": "val"}}
              }
          }
      }
  
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 12 for calling a global function with example usage: test_deps_multi_stage(tmp_dir, scm, dvc, run_copy) without return types