code: def _build_examples(
      self,
      n: int,
      state: metadata_store_pb2.Artifact.State = metadata_store_pb2.Artifact.State.LIVE,
  ) -> List[types.Artifact]:
      artifacts = []
      for i in range(n):
          artifacts.append(
              self.prepare_tfx_artifact(
                  test_utils.Examples,
                  properties={"span": i, "version": 1},
                  state=state,
              )
          )
      return artifacts
  
imports: from typing import List
  import tensorflow
  from tfx import types
  from tfx.dsl.input_resolution import resolver_op
  from tfx.dsl.input_resolution.ops import ops
  from tfx.dsl.input_resolution.ops import test_utils
  from tfx.orchestration.portable.input_resolution import exceptions
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 2 for calling the TrainingRangeOpTest obj's underlying member method code with example usage: obj._build_examples(n, state) and returns: artifacts