code: def _serve_prod(data, host, port, no_open, logging):
      view_url = util.local_server_url(host, port)
      if not no_open:
          try:
              util.open_url(view_url)
          except util.URLOpenError:
              sys.stdout.write(
                  "Unable to open browser window for Guild View\n"
              )
      sys.stdout.write(
          f"Running Guild View at {view_url} (Type Ctrl-C to quit)\n"
      )
      _start_view(data, host, port, logging)
      sys.stdout.write("\n")
  
imports: import json
  import logging
  import math
  import os
  import socket
  import subprocess
  import sys
  import threading
  import time
  from werkzeug.exceptions import NotFound
  from werkzeug.utils import redirect
  from guild import serving_util
  from guild import util
  from guild import var
label_desc: Use image node_id 3 for calling a global function with example usage: _serve_prod(data, host, port, no_open, logging) without return types