class_docstr: Inner class of _WandbSetup.
class_docstr_tok: ["Inner","class","of","_WandbSetup","."]
code: def _load_user_settings(
      self, settings: Optional[Settings] = None
  ) -> Optional[Dict[str, Any]]:
      if self._server is None:
          self._load_viewer(settings=settings)
  
      # offline?
      if self._server is None:
          return None
  
      flags = self._server._flags
      user_settings = dict()
      if "code_saving_enabled" in flags:
          user_settings["save_code"] = flags["code_saving_enabled"]
  
      email = self._server._viewer.get("email", None)
      if email:
          user_settings["email"] = email
  
      return user_settings
  
imports: import logging
  import os
  import sys
  import threading
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
  import wandb
  from .None import wandb_manager, wandb_settings
  from .lib import config_util, server, tracelog
label_desc: Use image node_id 12 for calling the _WandbSetup__WandbSetup obj's underlying member method code with example usage: obj._load_user_settings(settings) and returns: user_settings, None