correct return type in history_manager.py
This commit is contained in:
parent
c7c2589947
commit
62c205aa35
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user