code: def test_params_show_repo(tmp_dir, erepo_dir):
      with erepo_dir.chdir():
          erepo_dir.scm_gen(
              "params.yaml", "foo: 1", commit="Create params.yaml"
          )
          erepo_dir.dvc.run(
              name="stage-1",
              cmd="echo stage-1",
              params=["foo"],
          )
      assert api.params_show(repo=erepo_dir) == {"foo": 1}
  
imports: import json
  import os
  from textwrap import dedent
  from typing import Dict, List
  import pytest
  from dvc import api
label_desc: Use image node_id 10 for calling a global function with example usage: test_params_show_repo(tmp_dir, erepo_dir) without return types