From 0a0e82d48a68536a24714fc1cccfbaf90a3bb19a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 13 Feb 2023 23:09:41 +0100 Subject: [PATCH] Remove superfluous comment --- unimore_bda_6/database/queries.py | 1 - 1 file changed, 1 deletion(-) diff --git a/unimore_bda_6/database/queries.py b/unimore_bda_6/database/queries.py index 97e8818..d178e47 100644 --- a/unimore_bda_6/database/queries.py +++ b/unimore_bda_6/database/queries.py @@ -77,7 +77,6 @@ def sample_reviews_varied(collection: pymongo.collection.Collection, amount: int log.debug("Getting a sample of %d varied reviews...", category_amount * 5) - # Wow, this is ugly. cursor = collection.aggregate([ {"$limit": WORKING_SET_SIZE.__wrapped__}, {"$match": {"overall": 1.0}},