docstr: Converts a generator of tf.Events into a list of event tags.
docstr_tok: ["Converts","a","generator","of","tf.Events","into","a","list","of","event","tags","."]
code: def _extract_tags(self, event_generator):
      """Converts a generator of tf.Events into a list of event tags."""
      return [
          event.summary.value[0].tag
          for event in event_generator
          if not event.file_version
      ]
  
file_path: tensorboard/tensorboard/uploader/logdir_loader_test.py
imports: import os.path
  import shutil
  from tensorboard.uploader import logdir_loader
  from tensorboard import test
  from tensorboard.backend.event_processing import directory_loader
  from tensorboard.backend.event_processing import event_file_loader
  from tensorboard.backend.event_processing import io_wrapper
  from tensorboard.util import test_util
label_desc: Use image node_id 2 for calling the LogdirLoaderTest obj's underlying member method code with example usage: obj._extract_tags(event_generator) and returns: unknown