code: def run_websocket_server_thread(host, port, webSocketServerClass):
      wss_thread = WebSocketServerThread(
          host, port, webSocketServerClass
      )
      wss_thread.start()
      return wss_thread
  
file_path: pyalgotrade/testcases/websocket_server.py
imports: import threading
  from wsgiref import simple_server
  from ws4py.server import wsgirefserver
  from ws4py.server import wsgiutils
label_desc: Use image node_id 1 for calling a global function with example usage: run_websocket_server_thread(host, port, webSocketServerClass) and returns: wss_thread