code: def perspective_thread(manager):
      """Perspective application thread starts its own tornado IOLoop, and
      adds the table with the name "data_source_one", which will be used
      in the front-end."""
      psp_loop = tornado.ioloop.IOLoop()
  
      # Set Perspective to run in async mode
      manager.set_loop_callback(psp_loop.add_callback)
  
      with open(file_path, mode="rb") as file:
          table = Table(file.read(), index="Row ID")
          manager.host_table("data_source_one", table)
  
      psp_loop.start()
  
file_path: perspective/examples/workspace-editing-python/src/server.py
imports: import os
  import os.path
  import logging
  import tornado.websocket
  import tornado.web
  import tornado.ioloop
  import threading
  from perspective import Table, PerspectiveManager, PerspectiveTornadoHandler
label_desc: Use image node_id 1 for calling a global function with example usage: perspective_thread(manager) without return types