code: def testExcludeFilter(self):
      with beam.Pipeline() as pipeline:
          got = (
              pipeline
              | "Create" >> beam.Create([{"a": 1, "b": 2}])
              | "EvaluateExtracts"
              >> analysis_table_evaluator.EvaluateExtracts(
                  exclude=["a"]
              )
          )
  
          def check_result(got):
              try:
                  self.assertEqual(got, [{"b": 2}])
              except AssertionError as err:
                  raise util.BeamAssertException(err)
  
          util.assert_that(got[constants.ANALYSIS_KEY], check_result)
  
file_path: model-analysis/tensorflow_model_analysis/evaluators/analysis_table_evaluator_test.py
imports: import apache_beam
  from apache_beam.testing import util
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.evaluators import analysis_table_evaluator
label_desc: Use image node_id 2 for calling the AnalysisTableEvaulatorTest obj's underlying member method code with example usage: obj.testExcludeFilter() without return types