class_docstr: Global W&B settings stored under $WANDB_CONFIG_DIR/settings.
class_docstr_tok: ["Global","W","&","B","settings","stored","under","$","WANDB_CONFIG_DIR\/settings","."]
code: def items(self, section=None):
      section = (
          section if section is not None else Settings.DEFAULT_SECTION
      )
  
      result = {"section": section}
  
      try:
          if section in self._global_settings.sections():
              for option in self._global_settings.options(section):
                  result[option] = self._global_settings.get(
                      section, option
                  )
          if section in self._local_settings.sections():
              for option in self._local_settings.options(section):
                  result[option] = self._local_settings.get(
                      section, option
                  )
      except configparser.InterpolationSyntaxError:
          core.termwarn("Unable to parse settings file")
  
      return result
  
file_path: wandb/wandb/old/settings.py
imports: import configparser
  import getpass
  import os
  import tempfile
  from typing import Any, Optional
  from wandb import env
  from wandb.old import core
  from wandb.sdk.lib import filesystem
  from wandb.sdk.lib.runid import generate_id
label_desc: Use image node_id 6 for calling the Settings obj's underlying member method code with example usage: obj.items(section) and returns: result