code: def SetSplitNames(
      splits: Sequence[str],
      transformed_examples: Optional[List[types.Artifact]],
  ) -> None:
      """Sets split_names property of input artifacts."""
      if not transformed_examples:
          return
  
      for artifact in transformed_examples:
          artifact.split_names = artifact_utils.encode_split_names(
              list(splits)
          )
  
file_path: tfx/tfx/components/transform/executor_utils.py
imports: import functools
  import os
  from typing import Any, Callable, Dict, List, Mapping, Optional, Sequence
  from absl import logging
  from tfx import types
  from tfx.components.transform import labels
  from tfx.components.util import value_utils
  from tfx.proto import transform_pb2
  from tfx.types import artifact_utils
  from tfx.types import standard_component_specs
  from tfx.utils import json_utils
  from tfx.utils import proto_utils
label_desc: Use image node_id 5 for calling a global function with example usage: SetSplitNames(splits, transformed_examples) without return types