code: def test_serialize_app_pydantic_type_closure_ref_import(
      start_ray, BaseModel: Type
  ):
      def make():
          app = FastAPI()
  
          @app.get("/")
          def hello(v: str, u: User) -> str:
              return "hi"
  
          return app
  
      ray.get(ray.put(make))
  
imports: from dataclasses import dataclass
  from typing import Any, Dict, List, Optional, Type
  import os
  import sys
  import pytest
  from fastapi import FastAPI
  import ray
  from ray.tests.pydantic_module import User, app, user, closure
label_desc: Use image node_id 13 for calling a global function with example usage: test_serialize_app_pydantic_type_closure_ref_import(start_ray, BaseModel) and returns: app, str