docstr: Overrides BaseExecutor.Do().
docstr_tok: ["Overrides","BaseExecutor.Do","(",")","."]
code: def Do(
      self,
      input_dict: Mapping[str, Sequence[artifact.Artifact]],
      output_dict: Mapping[str, Sequence[artifact.Artifact]],
      exec_properties: Mapping[str, Any],
  ) -> None:
      """Overrides BaseExecutor.Do()."""
      args_capture = _ArgsCapture.instance
      args_capture.input_dict = input_dict
      args_capture.output_dict = output_dict
  
      for key in args_capture.output_dict:
          output_artifact = args_capture.output_dict[key][0]
          if isinstance(output_artifact, standard_artifacts.String):
              output_artifact.value = "String ValueArtifact"
          elif isinstance(output_artifact, standard_artifacts.Float):
              output_artifact.value = 1.1
          elif isinstance(output_artifact, standard_artifacts.Integer):
              output_artifact.value = 1
          elif isinstance(output_artifact, standard_artifacts.Boolean):
              output_artifact.value = True
  
      args_capture.exec_properties = exec_properties
      artifact_utils.get_single_instance(
          output_dict["output"]
      ).set_string_custom_property(
          _TEST_OUTPUT_PROPERTY_KEY, _TEST_OUTPUT_PROPERTY_VALUE
      )
      if "blessing" in output_dict:
          blessing = artifact_utils.get_single_instance(
              output_dict["blessing"]
          )
          # Set to the hash value of
          # 'projects/123456789/locations/us-central1/metadataStores/default/artifacts/1'
          blessing.set_int_custom_property(
              constants.ARTIFACT_PROPERTY_BASELINE_MODEL_ID_KEY,
              5743745765020341227,
          )
          # Set to the hash value of
          # 'projects/123456789/locations/us-central1/metadataStores/default/artifacts/2'
          blessing.set_int_custom_property(
              constants.ARTIFACT_PROPERTY_CURRENT_MODEL_ID_KEY,
              7228748496289751000,
          )
          # Set the blessing result
          blessing.set_int_custom_property(
              constants.ARTIFACT_PROPERTY_BLESSED_KEY,
              constants.BLESSED_VALUE,
          )
  
imports: import json
  import os
  from typing import Any, Mapping, Sequence
  from unittest import mock
  from kfp.pipeline_spec import pipeline_spec_pb2
  import tensorflow
  from tfx import version
  from tfx.components.evaluator import constants
  from tfx.components.evaluator import executor
  from tfx.dsl.io import fileio
  from tfx.orchestration.kubeflow.v2.container import kubeflow_v2_run_executor
  from tfx.types import artifact
  from tfx.types import artifact_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import io_utils
  from tfx.utils import name_utils
  from tfx.utils import test_case_utils
  from google.protobuf import struct_pb2
  from google.protobuf import json_format
label_desc: Use image node_id 1 for calling the _FakeExecutor obj's underlying member method code with example usage: obj.Do(input_dict, output_dict, exec_properties) without return types