Updated typehints

This commit is contained in:
2026-03-07 18:47:39 +00:00
parent 38aae30892
commit 88999dafd5

View File

@ -103,7 +103,7 @@ class Blueprint(flask.Blueprint):
# Commit everything
db.GLOBAL.commit()
def boop(self, name: str) -> [int, int]:
def boop(self, name: str):
"""
Boops `name`.
"""
@ -186,7 +186,7 @@ class Blueprint(flask.Blueprint):
return self._totalBoops[name]
def get24hBoops(self, name):
def get24hBoops(self, name) -> int:
"""
Calculates how many boops `name` has received in the past 24h.
"""