code: def testPipelineWithDynamicExecProperties(self):
      component_a = _make_fake_component_instance(
          "component_a", _OutputTypeA, {}, {}
      )
      dynamic_exec_prop = (
          component_a.outputs["output"].future()[0].value + "foo"
      )
      component_b = _make_fake_component_instance(
          name="component_b",
          output_type=_OutputTypeB,
          inputs={},
          outputs={},
          with_beam=True,
          dynamic_exec_property=dynamic_exec_prop,
      )
  
      my_pipeline = pipeline.Pipeline(
          pipeline_name="a",
          pipeline_root="b",
          components=[component_a, component_b],
          enable_cache=True,
          metadata_connection_config=self._metadata_connection_config,
          beam_pipeline_args=["--runner=PortableRunner"],
          additional_pipeline_args={},
      )
  
      self.assertCountEqual(
          my_pipeline.components[0].downstream_nodes, [component_b]
      )
      self.assertCountEqual(
          my_pipeline.components[1].upstream_nodes, [component_a]
      )
  
imports: import itertools
  import os
  from typing import Any, Dict, Optional, Type
  import tensorflow
  from tfx import types
  from tfx.dsl.components.base import base_beam_component
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import base_node
  from tfx.dsl.components.base import executor_spec
  from tfx.dsl.placeholder import placeholder
  from tfx.orchestration import metadata
  from tfx.orchestration import pipeline
  from tfx.types.component_spec import ChannelParameter
  from tfx.types.component_spec import ExecutionParameter
  from tfx.utils import test_case_utils
label_desc: Use image node_id 2 for calling the PipelineTest obj's underlying member method code with example usage: obj.testPipelineWithDynamicExecProperties() without return types