Преглед изворни кода

Fix reducer argument in pastebin exercise (#85)

Arash Rouhani пре 7 година
родитељ
комит
cc48058662
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      solutions/system_design/pastebin/README.md

+ 1 - 1
solutions/system_design/pastebin/README.md

@@ -218,7 +218,7 @@ class HitCounts(MRJob):
         period = self.extract_year_month(line)
         yield (period, url), 1
 
-    def reducer(self, key, value):
+    def reducer(self, key, values):
         """Sum values for each key.
 
         (2016-01, url0), 2