def write_ipynb(nb, path):
papermill_io.write(nbformat.writes(nb), path)<EOL>
Saves a notebook object to the specified path.
    Args:
        nb_node (nbformat.NotebookNode): Notebook object to save.
        notebook_path (str): Path to save the notebook object to.