1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-6.git synced 2024-11-24 08:44:19 +00:00

Remove superfluous comment

This commit is contained in:
Steffo 2023-02-13 23:09:41 +01:00
parent 474107ca5e
commit 0a0e82d48a
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -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) log.debug("Getting a sample of %d varied reviews...", category_amount * 5)
# Wow, this is ugly.
cursor = collection.aggregate([ cursor = collection.aggregate([
{"$limit": WORKING_SET_SIZE.__wrapped__}, {"$limit": WORKING_SET_SIZE.__wrapped__},
{"$match": {"overall": 1.0}}, {"$match": {"overall": 1.0}},