code: def test_pydantic_v1(session: nox.Session) -> None:
      session.install("-r", "requirements-dev.lock")
      session.install("pydantic<2")
  
      session.run(
          "pytest",
          "--showlocals",
          "--ignore=tests/functional",
          *session.posargs,
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_pydantic_v1(session) without return types