def _update_config(config, modification):
    if (modification is None):
        return config
    for (k, v) in modification.items():
        if (v is not None):
            _set_by_path(config, k, v)
    return config
def _update_config(config, modification):
    if (modification is None):
        return config
    for (k, v) in modification.items():
        if (v is not None):
            _set_by_path(config, k, v)
    return config