code: def test_get_valid():
      response = client.get("/foo", params={"client_id": "bar"})
      assert response.status_code == 200
      assert response.json() == {
          "client_id": "bar_key",
          "client_tag": "bar_tag",
      }
  
file_path: fastapi/tests/test_enforce_once_required_parameter.py
imports: from typing import Optional
  from fastapi import Depends, FastAPI, Query, status
  from fastapi.testclient import TestClient
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_valid() without return types