code: def __init__(
      self,
      api: Optional[InternalApi] = None,
      settings: Optional["Settings"] = None,
  ) -> None:
      self._api = api or InternalApi(default_settings=settings)
      self._error_network: Optional[bool] = None
      self._viewer: Dict[str, Any] = {}
      self._flags: Dict[str, Any] = {}
      self._settings = settings
  
file_path: wandb/wandb/sdk/lib/server.py
imports: import json
  from typing import TYPE_CHECKING, Any, Dict, Optional, Union
  from wandb import util
  from wandb.apis import InternalApi
label_desc: Use image node_id 1 to create a new Server object  with example: obj = Server(api, settings)