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:
parent
474107ca5e
commit
0a0e82d48a
1 changed files with 0 additions and 1 deletions
|
@ -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}},
|
||||||
|
|
Loading…
Reference in a new issue