code: def _get_input_examples_artifacts(
      self, store: mlmd.MetadataStore, execution_type: str
  ) -> List[metadata_store_pb2.Artifact]:
      executions = store.get_executions_by_type(execution_type)
      # Get latest execution.
      execution = max(executions, key=lambda a: a.id)
      events = store.get_events_by_execution_ids([execution.id])
      artifact_ids = []
      for event in events:
          for step in event.path.steps:
              if step.key == "examples":
                  artifact_ids.append(event.artifact_id)
                  break
      return store.get_artifacts_by_id(artifact_ids)
  
imports: import importlib
  import os
  from typing import List
  from absl import logging
  from absl.testing import parameterized
  import tensorflow
  from tfx.examples.penguin import penguin_pipeline_local
  from tfx.v1 import proto
  from tfx.v1.dsl.io import fileio
  from tfx.v1.orchestration import LocalDagRunner
  from tfx.v1.orchestration import metadata
  import ml_metadata
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 10 for calling the PenguinPipelineLocalEndToEndTest obj's underlying member method code with example usage: obj._get_input_examples_artifacts(store, execution_type) and returns: store