def METHOD_NAME(notebook, desired_version="3.8.6"):
    with open(notebook, "r") as f:
        source = json.load(f)
        source["metadata"]["language_info"]["version"] = desired_version
    json.dump(source, open(notebook, "w"), indent=1)