We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd0e7ea commit 6472ba7Copy full SHA for 6472ba7
1 file changed
sdks/python/apache_beam/ml/transforms/tft.py
@@ -558,7 +558,7 @@ def __init__(
558
if compute_word_count:
559
self.compute_word_count_fn = count_unqiue_words
560
else:
561
- self.compute_word_count_fn = lambda *args, **kwargs: {}
+ self.compute_word_count_fn = lambda *args, **kwargs: None
562
563
if ngram_range != (1, 1) and not ngrams_separator:
564
raise ValueError(
0 commit comments