def load(self, source, as_defaults=False):
        """
        Load configuration values from the specified source.

        Args:
            source:
            as_defaults (bool): if ``True``, contents of ``source`` will be treated as schema of configuration items.

        """
        if isinstance(source, six.string_types):
            source = os.path.expanduser(source)
            with open(source, encoding='utf-8') as f:
                self._rw.load_config_from_file(self._config, f, as_defaults=as_defaults)

        elif isinstance(source, (list, tuple)):
            for s in source:
                with open(s, encoding='utf-8') as f:
                    self._rw.load_config_from_file(self._config, f, as_defaults=as_defaults)

        else:
            self._rw.load_config_from_file(self._config, source, as_defaults=as_defaults)
Load configuration values from the specified source.

        Args:
            source:
            as_defaults (bool): if ``True``, contents of ``source`` will be treated as schema of configuration items.