code: def _add_tagger_label(tagger, data):
      for _, annotations in data:
          for tag in annotations["tags"]:
              tagger.add_label(tag)
  
file_path: spacy/spacy/tests/training/test_rehearse.py
imports: from typing import List
  import pytest
  import spacy
  from spacy.training import Example
label_desc: Use image node_id 2 for calling a global function with example usage: _add_tagger_label(tagger, data) without return types