From 229383ab7a85845f32caf7f31cde8d7a0bc228a6 Mon Sep 17 00:00:00 2001 From: Charles Chen Date: Fri, 1 Feb 2019 20:17:59 -0800 Subject: [PATCH] Work around issue in dill for wordcount example save_main_session --- sdks/python/apache_beam/examples/wordcount.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdks/python/apache_beam/examples/wordcount.py b/sdks/python/apache_beam/examples/wordcount.py index 0945985fa8c7..0f0cefd31a3a 100644 --- a/sdks/python/apache_beam/examples/wordcount.py +++ b/sdks/python/apache_beam/examples/wordcount.py @@ -38,7 +38,6 @@ class WordExtractingDoFn(beam.DoFn): """Parse each line of input text into words.""" def __init__(self): - super(WordExtractingDoFn, self).__init__() self.words_counter = Metrics.counter(self.__class__, 'words') self.word_lengths_counter = Metrics.counter(self.__class__, 'word_lengths') self.word_lengths_dist = Metrics.distribution(