code: def app():
      app = web.Application()
      app.router.add_get("/websocket", websocket_handler)
      return app
  
file_path: perspective/python/perspective/perspective/tests/handlers/test_aiohttp_handler_chunked.py
imports: import random
  import pytest
  from aiohttp import web
  from datetime import datetime
  from perspective import Table, PerspectiveManager, PerspectiveAIOHTTPHandler, aiohttp_websocket
label_desc: Use image node_id 1 for calling a global function with example usage: app() and returns: app