code: def settings(self, key=None, section=None):
          
          if not self._settings:
              self._settings = self.default_settings.copy()
              section = section or self._settings['section']
              try:
                  if section in self.settings_parser.sections():
                      for option in self.settings_parser.options(section):
                          self._settings[option] = self.settings_parser.get(
                              section, option)
              except configparser.InterpolationSyntaxError:
                  print("WARNING: Unable to parse settings file")
              self._settings["project"] = env.get_project(
                  self._settings.get("project"))
              self._settings["entity"] = env.get_entity(
                  self._settings.get("entity"))
              self._settings["base_url"] = env.get_base_url(
                  self._settings.get("base_url"))
              self._settings["ignore_globs"] = env.get_ignore(
                  self._settings.get("ignore_globs")
              )
  
          return self._settings if key is None else self._settings[key]
docs: The settings overridden from the wandb/settings file.
  
          Args:
              key (str, optional): If provided only this setting is returned
              section (str, optional): If provided this section of the setting file is
              used, defaults to "default"
  
          Returns:
              A dict with the current settings
  
                  {
                      "entity": "models",
                      "base_url": "https://api.wandb.ai",
                      "project": None
                  }