code: def closure():
      app = FastAPI()
  
      @app.get("/")
      def h(u: User) -> str:
          return "a"
  
      return app
  
imports: from fastapi import FastAPI
  from pydantic import BaseModel
label_desc: Use image node_id 2 for calling a global function with example usage: closure() and returns: app, str