def __setattr__(self, key, value):
        if key == key.upper():
            default = getattr(self, key, None)
            if isinstance(default, dict):
                default.update(value)
            else:
                object.__setattr__(self, key, value)
        else:
            warn('Ignoring non-uppercase setting "{0}". Note that all '
                 'Serrano settings are expected to be uppercased.'.format(key))
dataset/ETHPy150Open chop-dbhi/serrano/serrano/conf/__init__.py/Settings.__setattr__/original