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.

def loads(self, config_str, as_defaults=False):
        """
        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.

        """
        self._rw.load_config_from_string(self._config, config_str, as_defaults=as_defaults)