code: def training_data_link(
      data_1: DataInt,
      data_2: DataInt,
      common_key: str,
      training_size: int = 50000,
  ) -> TrainingData:  # pragma: nocover
      ...
  
imports: from __future__ import annotations
  import collections
  import itertools
  import random
  import sys
  import warnings
  from typing import Iterator, Tuple, overload
  import numpy
  import dedupe
  from dedupe._typing import DataInt, DataStr, Literal, RecordDict, RecordDictPair, RecordID, TrainingData
  from dedupe.canonical import getCanonicalRep
  from dedupe.core import unique
label_desc: Use image node_id 7 for calling a global function with example usage: training_data_link(data_1, data_2, common_key, training_size) without return types