1
0
Fork 0
mirror of synced 2024-05-08 06:32:27 +12:00

Limit to 10

This commit is contained in:
Dan Hess 2021-03-31 23:36:59 -08:00
parent d5ad03d71e
commit 847e5361ac

View file

@ -90,7 +90,7 @@ query ($name: String) {
# Filtering done, sort it
data = sorted(
data,
data[:10],
key=lambda n: n["score"],
reverse=True,
)