code: def test_read_cell_with_metadata(
      script="""# %% a code cell with parameters {"tags": ["parameters"]}
  a = 3
  """,
  ):
      nb = jupytext.reads(script, "py:hydrogen")
      assert len(nb.cells) == 1
      assert nb.cells[0].cell_type == "code"
      assert nb.cells[0].source == "a = 3"
      assert nb.cells[0].metadata == {
          "title": "a code cell with parameters",
          "tags": ["parameters"],
      }
  
      script2 = jupytext.writes(nb, "py:hydrogen")
      compare(script2, script)
  
file_path: jupytext/tests/functional/simple_notebooks/test_read_simple_hydrogen.py
imports: import jupytext
  from jupytext.compare import compare
label_desc: Use image node_id 2 for calling a global function with example usage: test_read_cell_with_metadata(script) without return types