code: def _get_tags(tags_txt: str) -> list[str]:
      """Returns list of tags from raw tags file content."""
      tags = []
      for line in tags_txt.split("\n"):
          tag = line.split("#", 1)[0].strip()
          if tag:
              tags.append(tag)
      return tags
  
file_path: datasets/tensorflow_datasets/core/dataset_metadata.py
imports: import dataclasses
  import functools
  from etils import epath
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils import resource_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _get_tags(tags_txt) and returns: tags