code: def test_all_nodes(self):
      root = autotrackable.AutoTrackable()
      root.leaf = autotrackable.AutoTrackable()
      root_ckpt = trackable_utils.Checkpoint(root=root)
      root_save_path = root_ckpt.save(
          os.path.join(self.get_temp_dir(), "root_ckpt")
      )
      all_nodes = checkpoint_view.CheckpointView(
          root_save_path
      ).descendants()
      self.assertEqual(3, len(all_nodes))
      self.assertEqual(0, all_nodes[0])
      self.assertEqual(1, all_nodes[1])
  
file_path: tensorflow-upstream/tensorflow/python/checkpoint/checkpoint_view_test.py
imports: import os
  from tensorflow.python.checkpoint import checkpoint
  from tensorflow.python.checkpoint import checkpoint_view
  from tensorflow.python.eager import test
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 2 for calling the CheckpointViewTest obj's underlying member method code with example usage: obj.test_all_nodes() without return types