code: def serve_forever(
      data, host, port, no_open=False, dev=False, logging=False
  ):
      if dev:
          _serve_dev(data, host, port, no_open, logging)
      else:
          _serve_prod(data, host, port, no_open, logging)
  
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 1 for calling a global function with example usage: serve_forever(data, host, port, no_open, dev, logging) without return types