code: def testExecutionNoGraphNoInputButWithOutputToJson(self):
      execution_digest = debug_events_reader.ExecutionDigest(
          1234, 5678, "FooOp", output_tensor_device_ids=[1357]
      )
      execution = debug_events_reader.Execution(
          execution_digest,
          "localhost",
          ("a1", "b2"),
          debug_event_pb2.TensorDebugMode.FULL_HEALTH,
          graph_id="abcd",
          input_tensor_ids=[13, 37],
          output_tensor_ids=None,
          debug_tensor_values=None,
      )
      json = execution.to_json()
      self.jsonRoundTripCheck(json)
      self.assertEqual(json["wall_time"], 1234)
      self.assertEqual(json["op_type"], "FooOp")
      self.assertEqual(json["output_tensor_device_ids"], (1357,))
      self.assertEqual(json["host_name"], "localhost")
      self.assertEqual(json["stack_frame_ids"], ("a1", "b2"))
      self.assertEqual(
          json["tensor_debug_mode"],
          debug_event_pb2.TensorDebugMode.FULL_HEALTH,
      )
      self.assertEqual(json["graph_id"], "abcd")
      self.assertEqual(json["input_tensor_ids"], (13, 37))
      self.assertIsNone(json["output_tensor_ids"])
      self.assertIsNone(json["debug_tensor_values"])
  
imports: import glob
  import json
  import os
  import re
  import threading
  import time
  from absl.testing import parameterized
  from tensorflow.core.protobuf import debug_event_pb2
  from tensorflow.python.debug.lib import debug_events_reader
  from tensorflow.python.debug.lib import debug_events_writer
  from tensorflow.python.debug.lib import dumping_callback_test_lib
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework import versions
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 5 for calling the DataObjectsTest obj's underlying member method code with example usage: obj.testExecutionNoGraphNoInputButWithOutputToJson() without return types