code: def testGetBundleDetails(self):
      # Test with non-bundle generator.
      seq_gen = SeuenceGenerator(checkpoint="foo.ckpt")
      self.assertIsNone(seq_gen.bundle_details)
  
      # Test with bundle-based generator.
      bundle_details = generator_pb2.GeneratorBundle.BundleDetails(
          description="bundle of joy"
      )
      bundle = generator_pb2.GeneratorBundle(
          generator_details=generator_pb2.GeneratorDetails(
              id="test_generator"
          ),
          bundle_details=bundle_details,
          checkpoint_file=[b"foo.ckpt"],
          metagraph_file=b"foo.ckpt.meta",
      )
      seq_gen = SeuenceGenerator(bundle=bundle)
      self.assertEqual(bundle_details, seq_gen.bundle_details)
  
file_path: magenta/magenta/models/shared/sequence_generator_test.py
imports: from magenta.models.shared import model
  from magenta.models.shared import sequence_generator
  from note_seq.protobuf import generator_pb2
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the SequenceGeneratorTest obj's underlying member method code with example usage: obj.testGetBundleDetails() without return types