def extract_conf(self, *args):
        for obj in args:
            for key in dir(obj):
                if key.isupper():
                    setattr(self, key, getattr(obj, key))

            if hasattr(obj, 'iterkeys') and callable(getattr(obj, 'iterkeys')):
                for key in obj.iterkeys():
                    if key.isupper():
                        setattr(self, key, obj[key])
Receives one or more objects, iterates over their elements, extracts
dataset/ETHPy150Open tooxie/shiva-server/shiva/config/__init__.py/Configurator.extract_conf