code: def __init__(self, tag_sequence=None):
      super().__init__()
      self.tag_sequence = tag_sequence
  
file_path: allennlp/allennlp/data/dataset_readers/dataset_utils/span_utils.py
imports: from typing import Callable, List, Set, Tuple, TypeVar, Optional
  import warnings
  from allennlp.common.checks import ConfigurationError
  from allennlp.data.tokenizers import Token
label_desc: Use image node_id 1 to create a new InvalidTagSequence object from inherited base classes: Exception with example: obj = InvalidTagSequence(tag_sequence)