code: def __init__(self, args):
      self.logdir = args.get("logdir")
      self.host = args.get("host", default_host)
      self.port = args.get("port", default_port)
      self.cache_timeout = args.get(
          "cache_timeout", default_cache_timeout
      )
      self.language = args.get("language")
      self.public_path = args.get("public_path")
      self.api_only = args.get("api_only", False)
      self.open_browser = args.get("open_browser", False)
      self.model = args.get("model", "")
      self.product = args.get("product", default_product)
      self.telemetry = args.get("telemetry", True)
      self.theme = args.get("theme", None)
      self.dest = args.get("dest", "")
      self.behavior = args.get("behavior", "")
      self.component_tabs = args.get("component_tabs", None)
  
file_path: VisualDL/visualdl/server/args.py
imports: import socket
  import sys
  from argparse import ArgumentParser
  from visualdl import __version__
  from visualdl.server.log import init_logger
  from visualdl.server.log import logger
label_desc: Use image node_id 1 to create a new DefaultArgs object from inherited base classes: object with example: obj = DefaultArgs(args)