code: def _trainer(model: OutputArtifact[standard_artifacts.Model]):
      del model
  
file_path: tfx/tfx/orchestration/experimental/core/testing/test_pipeline_with_resolver.py
imports: from tfx import types
  from tfx.dsl.compiler import compiler
  from tfx.dsl.component.experimental.annotations import InputArtifact
  from tfx.dsl.component.experimental.annotations import OutputArtifact
  from tfx.dsl.component.experimental.decorators import component
  from tfx.dsl.components.common import resolver
  from tfx.dsl.input_resolution.strategies import latest_artifact_strategy
  from tfx.orchestration import pipeline
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.types import standard_artifacts
label_desc: Use image node_id 1 for calling a global function with example usage: _trainer(model) without return types