code: def testExludeFilter(self):
      with beam.Pipeline() as pipeline:
          got = (
              pipeline
              | "Create"
              >> beam.Create([{"a": 1, "b": 2, "c": 3, "d": 4}])
              | "Filter" >> extractor.Filter(exclude=["b", "d"])
          )
  
          def check_result(got):
              try:
                  self.assertEqual(got, [{"a": 1, "c": 3}])
              except AssertionError as err:
                  raise util.BeamAssertException(err)
  
          util.assert_that(got, check_result)
  
file_path: model-analysis/tensorflow_model_analysis/extractors/extractor_test.py
imports: import apache_beam
  from apache_beam.testing import util
  import tensorflow
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.extractors import extractor
label_desc: Use image node_id 4 for calling the ExtractorTest obj's underlying member method code with example usage: obj.testExludeFilter() without return types