

def _initialize_config(config):
    components = []
    if ('logging' in config):
        dictConfig(config['logging'])
    else:
        logging.basicConfig(level=logging.DEBUG)
    components = _initialize_config_recursive(config)
    for component in components:
        if hasattr(component, 'initialize_component'):
            component.initialize_component(config)
    return config

dataset/ETHPy150Open ottogroup/palladium/palladium/util.py _initialize_config/original