code: def _get_artifacts(
      spans_and_versions: List[Tuple[int, int]]
  ) -> Sequence[test_utils.DummyArtifact]:
      artifacts = []
      for span, version in spans_and_versions:
          art = test_utils.DummyArtifact()
          art.span = span
          art.version = version
          artifacts.append(art)
      return artifacts
  
file_path: tfx/tfx/dsl/input_resolution/ops/paired_spans_op_test.py
imports: from typing import List, Sequence, Tuple
  import tensorflow
  from tfx.dsl.input_resolution.ops import ops
  from tfx.dsl.input_resolution.ops import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _get_artifacts(spans_and_versions) and returns: artifacts