code: def test_params_show_no_params_found(tmp_dir, dvc):
      # Empty repo
      assert api.params_show() == {}
  
      # params.yaml but no dvc.yaml
      (tmp_dir / "params.yaml").dump({"foo": 1})
      assert api.params_show() == {"foo": 1}
  
      # dvc.yaml but no params.yaml
      (tmp_dir / "params.yaml").unlink()
      dvc.stage.add(name="echo", cmd="echo foo")
      assert api.params_show() == {}
  
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 11 for calling a global function with example usage: test_params_show_no_params_found(tmp_dir, dvc) without return types