mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Add type-hint for result dictionary
This commit is contained in:
parent
f8cbf138ee
commit
1b608a162e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user