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])
#__metaclass__ = util.Singleton
dataset/ETHPy150Open tooxie/shiva-server/shiva/config/__init__.py/Configurator.extract_conf--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/core/language.py/OptionVarDict.__call__