code: def test_params_show_stages(params_repo):
      assert api.params_show(stages="stage-2") == {"foo": {"bar": 4}}
  
      assert api.params_show() == api.params_show(
          stages=["stage-1", "stage-2", "stage-3"]
      )
  
      assert api.params_show("params.json", stages="stage-3") == {
          "bar": 2,
          "foobar": 3,
      }
  
      assert api.params_show(stages="stage-0") == {}
  
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 6 for calling a global function with example usage: test_params_show_stages(params_repo) without return types