

def load_dict(self, patch):
    if (not isinstance(patch, dict)):
        raise exceptions.ConfigurationError('The configuration is invalid. The expected type was a key value mapping (a python dict) but we got an object of type: {0}'.format(type(patch)))
    self.user_configs.append(patch)
    self.data.update(patch)

dataset/ETHPy150Open mkdocs/mkdocs/mkdocs/config/base.py Config.load_dict/original