wow-token-app-bot

An interactions.py Discord bot for getting and alerting on the WoW Token Price
git clone https://git.emily.sh/wowtoken-app/wow-token-app-bot.git
Log | Files | Refs | README | LICENSE

commit 62c205aa358df25bd6f4e58f155fd1ac07e3b495
parent c7c2589947e05b03bfd29b0f3c117e8da258b9a1
Author: Emily Doherty <git@emily.sh>
Date:   Sun,  8 Dec 2024 16:44:25 -0800

correct return type in history_manager.py

Diffstat:
Mtoken_bot/history_manager/history_manager.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/token_bot/history_manager/history_manager.py b/token_bot/history_manager/history_manager.py @@ -25,7 +25,7 @@ class HistoryManager: high_fidelity_history = await self._tdb.history(flavor, region, self.HIGH_FIDELITY_PERIOD) final_response = [] - def _convert_to_datetime(data: Tuple[str, int]): + def _convert_to_datetime(data: Tuple[str, int]) -> Tuple[datetime.datetime, int]: return datetime.datetime.fromisoformat(data[0]), data[1] for data_point in all_history: