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 clear(self, section, key, globally=False, persist=False) -> None:
      def clear_setting(settings, settings_path, persist):
          settings.remove_option(section, key)
          if persist:
              self._persist_settings(settings, settings_path)
  
      if globally:
          global_path = Settings._global_path()
          if global_path is not None:
              clear_setting(self._global_settings, global_path, persist)
      else:
          clear_setting(
              self._local_settings,
              Settings._local_path(self.root_dir),
              persist,
          )
  
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 5 for calling the Settings obj's underlying member method code with example usage: obj.clear(section, key, globally, persist) without return types