code: def _add_parser_label(parser, data):
      for _, annotations in data:
          for dep in annotations["deps"]:
              parser.add_label(dep)
  
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 3 for calling a global function with example usage: _add_parser_label(parser, data) without return types