code: def notebook_with_outputs():
      return new_notebook(
          cells=[
              new_code_cell(
                  "1+1",
                  execution_count=1,
                  outputs=[
                      new_output(
                          data={"text/plain": "2"},
                          execution_count=1,
                          output_type="execute_result",
                      )
                  ],
              )
          ],
          metadata={
              "kernelspec": {
                  "display_name": "Python 3",
                  "language": "python",
                  "name": "python_kernel",
              }
          },
      )
  
imports: import itertools
  import os.path
  import re
  import sys
  import unittest.mock
  from pathlib import Path
  import pytest
  from jupyter_client.kernelspec import find_kernel_specs, get_kernel_spec
  from nbformat.v4 import nbbase
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook, new_output
  import jupytext
  from jupytext.cell_reader import rst2md
  from jupytext.cli import system, tool_version
  from jupytext.formats import formats_with_support_for_cell_metadata
  from jupytext.myst import is_myst_available
  from jupytext.pandoc import is_pandoc_available
  from jupytext.quarto import is_quarto_available
label_desc: Use image node_id 7 for calling a global function with example usage: notebook_with_outputs() and returns: new_notebook