From 62c205aa358df25bd6f4e58f155fd1ac07e3b495 Mon Sep 17 00:00:00 2001 From: Emily Doherty Date: Sun, 8 Dec 2024 16:44:25 -0800 Subject: [PATCH] correct return type in history_manager.py --- token_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 index 9501ae6..5226ce2 100644 --- 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: