class_docstr: Development version of LIT server.
  
  This wraps the real LIT server and allows for quick reloading of the server
  code without reloading models or datasets.
class_docstr_tok: ["Development","version","of","LIT","server",".","This","wraps","the","real","LIT","server","and","allows","for","quick","reloading","of","the","server","code","without","reloading","models","or","datasets","."]
code: def __init__(self, *args, server_type="default", **kw):
      # We expose a single Server class to simplify client use, but internally
      # this is factored into a WSGI app (LitApp) and a webserver.
      # Positional arguments and some keywords passed to the LitApp,
      # which contains the LIT backend logic.
      self._app_args = args  # models, datasets, etc.
      self._app_kw = {
          k: kw.pop(k)
          for k in get_available_keywords(lit_app.LitApp)
          if k in kw
      }
      # Remaining keywords passed to the webserver class.
      self._server_kw = kw
      self._server_type = server_type
  
file_path: lit/lit_nlp/dev_server.py
imports: import inspect
  from typing import Optional, Union
  from absl import logging
  from lit_nlp import app
  from lit_nlp.lib import wsgi_serving
  import termcolor
label_desc: Use image node_id 1 to create a new Server object from inherited base classes: object with example: obj = Server()