code: def non_black_notebook(python_notebook):
      return new_notebook(
          metadata=python_notebook.metadata,
          cells=[new_code_cell("1+1")],
      )
  
imports: import pytest
  from nbformat.v4.nbbase import new_code_cell, new_notebook
  from jupytext import write
  from jupytext.cli import jupytext
label_desc: Use image node_id 1 for calling a global function with example usage: non_black_notebook(python_notebook) and returns: new_notebook