code: def test_put_correct_body():
      response = client.post(
          "/items/", json=[{"name": "Foo", "age": 5}]
      )
      assert response.status_code == 200, response.text
      assert response.json() == {
          "item": [
              {
                  "name": "Foo",
                  "age": IsOneOf(
                      5,
                      # TODO: remove when deprecating Pydantic v1
                      "5",
                  ),
              }
          ]
      }
  
file_path: fastapi/tests/test_multi_body_errors.py
imports: from decimal import Decimal
  from typing import List
  from dirty_equals import IsDict, IsOneOf
  from fastapi import FastAPI
  from fastapi.testclient import TestClient
  from fastapi.utils import match_pydantic_error_url
  from pydantic import BaseModel, condecimal
label_desc: Use image node_id 2 for calling a global function with example usage: test_put_correct_body() without return types