Add type-hint for result dictionary

This commit is contained in:
Matthias 2024-03-09 16:10:33 +01:00
parent f8cbf138ee
commit 1b608a162e

View File

@ -1366,7 +1366,7 @@ class RPC:
def health(self) -> Dict[str, Optional[Union[str, int]]]:
last_p = self._freqtrade.last_process
res = {
res: Dict[str, Union[None, str, int]] = {
"last_process": None,
"last_process_loc": None,
"last_process_ts": None,