Example #1
0
def update_evaluator_config(new_config):
    current_config = _get_evaluator_config()
    try:
        ConfigManager.update_evaluator_config(new_config, current_config)
        return True
    except Exception:
        return False
Example #2
0
def update_evaluator_config(new_config, deactivate_others=False):
    current_config = _get_evaluator_config()
    try:
        ConfigManager.update_evaluator_config(new_config, current_config, deactivate_others)
        return True
    except Exception:
        return False