code: def loads(self, config_str, as_defaults=False):
          
          self._rw.load_config_from_string(self._config, config_str, as_defaults=as_defaults)
docs: Load configuration values from the specified source string.
  
          Args:
              config_str:
              as_defaults (bool): if ``True``, contents of ``source`` will be treated as schema of configuration items.