docstr: Converts self._exec_properties['custom_config'] to string.
docstr_tok: ["Converts","self._exec_properties","[","'custom_config","'","]","to","string","."]
code: def _serialize_custom_config_under_test(self) -> Dict[str, Any]:
      """Converts self._exec_properties['custom_config'] to string."""
      result = copy.deepcopy(self._exec_properties)
      result["custom_config"] = json_utils.dumps(
          result["custom_config"]
      )
      return result
  
imports: import copy
  import os
  from typing import Any, Dict
  from unittest import mock
  import tensorflow
  from tfx.dsl.io import fileio
  from tfx.extensions.google_cloud_ai_platform import constants
  from tfx.extensions.google_cloud_ai_platform.pusher import executor
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import json_utils
  from tfx.utils import name_utils
  from tfx.utils import telemetry_utils
label_desc: Use image node_id 2 for calling the ExecutorTest obj's underlying member method code with example usage: obj._serialize_custom_config_under_test() and returns: result