From 88999dafd547cab1735dffd0138a28fde81fc6e8 Mon Sep 17 00:00:00 2001 From: Brosef Date: Sat, 7 Mar 2026 18:47:39 +0000 Subject: [PATCH] Updated typehints --- blueprints/booper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blueprints/booper.py b/blueprints/booper.py index 565ebc2..18bc75a 100644 --- a/blueprints/booper.py +++ b/blueprints/booper.py @@ -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. """