Преглед на файлове

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