code: def finish_bundle(self):
      import fiftyone.core.dataset as fod
      import fiftyone.core.utils as fou
  
      if not self._samples:
          return
  
      kwargs, _ = fou.extract_kwargs_for_function(
          fod._make_merge_samples_generator, self.kwargs
      )
  
      samples = fod._make_merge_samples_generator(
          self._dataset,
          self._samples,
          self._key_fcn,
          self._id_map,
          expand_schema=self.expand_schema,
          **kwargs,
      )
  
      self._dataset._upsert_samples_batch(
          list(samples), self.expand_schema, False, True
      )
  
imports: import logging
  import numpy
  import fiftyone.core.dataset
  import fiftyone.core.utils
  import fiftyone.core.view
  import apache_beam
  from apache_beam.options.pipeline_options import PipelineOptions
label_desc: Use image node_id 5 for calling the MergeBatch obj's underlying member method code with example usage: obj.finish_bundle() without return types