class_docstr: TabPy application class for keeping context like settings, state, etc.
code: def __init__(self, config_file, disable_auth_warning=True):
      self.disable_auth_warning = disable_auth_warning
      if config_file is None:
          config_file = os.path.join(
              os.path.dirname(__file__),
              os.path.pardir,
              "common",
              "default.conf",
          )
  
      if os.path.isfile(config_file):
          try:
              from logging import config
  
              config.fileConfig(
                  config_file, disable_existing_loggers=False
              )
          except KeyError:
              logging.basicConfig(level=logging.DEBUG)
  
      self._parse_config(config_file)
  
imports: import concurrent.futures
  import configparser
  import logging
  import multiprocessing
  import os
  import shutil
  import signal
  import sys
  import _thread
  import tornado
  from tornado.http1connection import HTTP1Connection
  import tabpy
  import tabpy.tabpy_server.app.arrow_server
  from tabpy.tabpy import __version__
  from tabpy.tabpy_server.app.app_parameters import ConfigParameters, SettingsParameters
  from tabpy.tabpy_server.app.util import parse_pwd_file
  from tabpy.tabpy_server.handlers.basic_auth_server_middleware_factory import BasicAuthServerMiddlewareFactory
  from tabpy.tabpy_server.handlers.no_op_auth_handler import NoOpAuthHandler
  from tabpy.tabpy_server.management.state import TabPyState
  from tabpy.tabpy_server.management.util import _get_state_from_file
  from tabpy.tabpy_server.psws.callbacks import init_model_evaluator, init_ps_server
  from tabpy.tabpy_server.psws.python_service import PythonService, PythonServiceHandler
  from tabpy.tabpy_server.handlers import EndpointHandler, EndpointsHandler, EvaluationPlaneHandler, EvaluationPlaneDisabledHandler, QueryPlaneHandler, ServiceInfoHandler, StatusHandler, UploadDestinationHandler
label_desc: Use image node_id 1 to create a new TabPyApp object  with example: obj = TabPyApp(config_file, disable_auth_warning)