docstr: Checks that a list of MLMD artifacts and resolved artifacts are equal.
docstr_tok: ["Checks","that","a","list","of","MLMD","artifacts","and","resolved","artifacts","are","equal","."]
code: def assertResolvedAndMLMDArtifactListEqual(
      self,
      resolved_artifacts: metadata_store_pb2.Artifact,
      mlmd_artifacts: metadata_store_pb2.Artifact,
      check_span_and_version: bool = True,
  ):
      """Checks that a list of MLMD artifacts and resolved artifacts are equal."""
      self.assertEqual(len(mlmd_artifacts), len(resolved_artifacts))
      for mlmd_artifact, resolved_artifact in zip(
          mlmd_artifacts, resolved_artifacts
      ):
          self.assertResolvedAndMLMDArtifactEqual(
              resolved_artifact, mlmd_artifact, check_span_and_version
          )
  
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 5 for calling the CannedResolverFunctionsTest obj's underlying member method code with example usage: obj.assertResolvedAndMLMDArtifactListEqual(resolved_artifacts, mlmd_artifacts, check_span_and_version) without return types