pull/554/merge
sobolevn 2024-12-02 18:05:19 +00:00 committed by GitHub
commit a9fa2f5b2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class SalesRanker(MRJob):
if self.within_past_week(timestamp):
yield (category_id, product_id), quantity
def reducer(self, key, value):
def reducer(self, key, values):
"""Sum values for each key.
(category1, product1), 2