code: def testLatestPipelineRunOutputsResolverFn(self):
      producer_pipeline = pipeline.Pipeline(
          outputs={
              "x": channel_utils.artifact_query(
                  artifact_type=test_utils.DummyArtifact
              )
          },
          pipeline_name="producer-pipeline",
      )
      return_value = (
          canned_resolver_functions.latest_pipeline_run_outputs(
              pipeline=producer_pipeline
          )
      )
  
      self.assertIsInstance(return_value["x"], types.BaseChannel)
      self.assertEqual(
          "producer-pipeline",
          return_value["x"].output_node.kwargs["pipeline_name"],
      )
  
imports: from typing import Sequence
  import tensorflow
  from tfx import types
  from tfx.dsl.control_flow import for_each
  from tfx.dsl.input_resolution import canned_resolver_functions
  from tfx.dsl.input_resolution import resolver_op
  from tfx.dsl.input_resolution.ops import test_utils
  from tfx.orchestration import pipeline
  from tfx.orchestration.portable import inputs_utils
  from tfx.orchestration.portable.input_resolution import exceptions
  from tfx.types import channel_utils
  from tfx.types import resolved_channel
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 14 for calling the CannedResolverFunctionsTest obj's underlying member method code with example usage: obj.testLatestPipelineRunOutputsResolverFn() without return types