code: def testPartialRunWithIR(self):
      pr_opts = pipeline_pb2.PartialRun()
      pr_opts.to_nodes.append("c")
      pr_opts.snapshot_settings.latest_pipeline_run_strategy.SetInParent()
      local_dag_runner.LocalDagRunner().run_with_ir(
          self._getTestPipelineIR(),
          run_options=pipeline_pb2.RunOptions(partial_run=pr_opts),
      )
      self.assertEqual(
          _executed_components,
          ["_FakeComponent.a", "_FakeComponent.b", "_FakeComponent.c"],
      )
  
imports: import os
  import tempfile
  from typing import Any, Dict, List
  import absl.testing.absltest
  from tfx import types
  from tfx.dsl.compiler import compiler
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.orchestration import pipeline
  from tfx.orchestration.local import local_dag_runner
  from tfx.orchestration.metadata import sqlite_metadata_connection_config
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.types.component_spec import ChannelParameter
  from tfx.types.component_spec import ExecutionParameter
label_desc: Use image node_id 7 for calling the LocalDagRunnerTest obj's underlying member method code with example usage: obj.testPartialRunWithIR() without return types