def load_notebook_node(notebook_path):
nb = nbformat.reads(papermill_io.read(notebook_path), as_version=<NUM_LIT:4>)<EOL>if not hasattr(nb.metadata, '<STR_LIT>'):<EOL><INDENT>nb.metadata['<STR_LIT>'] = {<EOL>'<STR_LIT>': dict(),<EOL>'<STR_LIT>': dict(),<EOL>'<STR_LIT:version>': __version__,<EOL>}<EOL><DEDENT>for cell in nb.cells:<EOL><INDENT>if not hasattr(cell.metadata, '<STR_LIT>'):<EOL><INDENT>cell.metadata['<STR_LIT>'] = []  <EOL><DEDENT>if not hasattr(cell.metadata, '<STR_LIT>'):<EOL><INDENT>cell.metadata['<STR_LIT>'] = dict()<EOL><DEDENT><DEDENT>return nb<EOL>
Returns a notebook object with papermill metadata loaded from the specified path.

    Args:
        notebook_path (str): Path to the notebook file.

    Returns:
        nbformat.NotebookNode