def METHOD_NAME(_config: RecursiveDict, path: List[str], config_value: str) -> None:
    while len(path) > 0:
        element = path.pop(0)
        if len(path) == 0:
            # We're at the end
            _config[element] = config_value
        else:
            # We have to go deeper
            if element not in _config:
                _config[element] = {}
            if isinstance(_config[element], dict):
                _config = _config[element]  # type: ignore
            else:
                raise ValueError(
                    f"Incompatible configurations, merging dict with a value: {'.'.join(path)}, value: {config_value}"
                )