class_docstr: Basic development server; not recommended for deployment.
class_docstr_tok: ["Basic","development","server",";","not","recommended","for","deployment","."]
docstr: Start serving.
docstr_tok: ["Start","serving","."]
code: def serve(self):
      """Start serving."""
      logging.info(
          termcolor.colored(
              (
                  f"\n\nStarting Server on port {self._port}"
                  f"\nYou can navigate to http://{self._host}:{self._port}\n\n"
              ),
              "green",
              attrs=["bold"],
          )
      )
      werkzeug_serving.run_simple(
          self._host,
          self._port,
          self._app,
          use_debugger=False,
          use_reloader=False,
      )
  
imports: import socket
  import threading
  from typing import Optional
  from wsgiref import validate
  import wsgiref.simple_server
  from absl import logging
  import portpicker
  import termcolor
  from werkzeug import serving
label_desc: Use image node_id 2 for calling the BasicDevServer obj's underlying member method code with example usage: obj.serve() without return types