code: def test_filter_top_level_model():
      response = client.post(
          "/users",
          json={"email": "johndoe@example.com", "password": "secret"},
      )
      assert response.json() == {"email": "johndoe@example.com"}
  
file_path: fastapi/tests/test_response_model_data_filter.py
imports: from typing import List
  from fastapi import FastAPI
  from fastapi.testclient import TestClient
  from pydantic import BaseModel
label_desc: Use image node_id 1 for calling a global function with example usage: test_filter_top_level_model() without return types