code: def __init__(
      self,
      sock_port: Optional[int] = None,
      port_fname: Optional[str] = None,
      address: Optional[str] = None,
      pid: Optional[int] = None,
      debug: bool = True,
      serve_sock: bool = False,
  ) -> None:
      self._sock_port = sock_port
      self._port_fname = port_fname
      self._address = address
      self._pid = pid
      self._debug = debug
      self._serve_sock = serve_sock
      self._sock_server = None
      self._startup_debug_enabled = _startup_debug.is_enabled()
  
      if debug:
          logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
  
file_path: wandb/wandb/sdk/service/server.py
imports: import logging
  import os
  import sys
  from typing import Optional
  import wandb
  from ..lib import tracelog
  from .None import _startup_debug, port_file
  from .server_sock import SocketServer
  from .streams import StreamMux
label_desc: Use image node_id 1 to create a new WandbServer object  with example: obj = WandbServer(sock_port, port_fname, address, pid, debug, serve_sock)