code: def test_batch_example():
      spec = {
          "input": dictfix.NoneOr({"logs": None}),
          "main": dictfix.NoneOr({"logs": None}),
          "output": dictfix.NoneOr({"logs": None}),
      }
  
      expected = {"input": None, "main": None, "output": None}
  
      actual = dict()
      dictfix.dictfix(actual, spec)
      assert actual == expected
  
      actual = {"input": None}
      dictfix.dictfix(actual, spec)
      assert actual == expected
  
      actual = {"main": None}
      dictfix.dictfix(actual, spec)
      assert actual == expected
  
      actual = {"main": None, "output": None}
      dictfix.dictfix(actual, spec)
      assert actual == expected
  
      expected = {
          "input": None,
          "main": {"id": 3, "logs": None},
          "output": None,
      }
      actual = {"main": {"id": 3}, "output": None}
      dictfix.dictfix(actual, spec)
      assert actual == expected
  
      expected = {
          "input": None,
          "main": {"id": 3, "logs": "abc\n123"},
          "output": {"id": 4, "logs": None},
      }
      actual = {
          "main": {"id": 3, "logs": "abc\n123"},
          "output": {"id": 4},
      }
      dictfix.dictfix(actual, spec)
      assert actual == expected
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_batch_example() without return types