code: def test_post_authors_item():
      response = client.post(
          "/authors/foo/items/",
          json=[
              {"name": "Bar"},
              {"name": "Baz", "description": "Drop the Baz"},
          ],
      )
      assert response.status_code == 200
      assert response.json() == {
          "name": "foo",
          "items": [
              {"name": "Bar", "description": None},
              {"name": "Baz", "description": "Drop the Baz"},
          ],
      }
  
imports: from fastapi.testclient import TestClient
  from docs_src.dataclasses.tutorial003 import app
  from ...utils import needs_pydanticv1, needs_pydanticv2
label_desc: Use image node_id 1 for calling a global function with example usage: test_post_authors_item() without return types