correct return type in history_manager.py

This commit is contained in:
Emily Doherty 2024-12-08 16:44:25 -08:00
parent c7c2589947
commit 62c205aa35

View File

@ -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: