diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-28 03:22:30 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-30 03:47:49 +0300 |
commit | 8f20c9b825cabab7a3f0f5dd2cfe000cc7f72c28 (patch) | |
tree | b5d7446e7b2fcfd42b1e5029aeef33ecb5f9715f /src/home/api/errors | |
parent | ee09bc98aedfc6a65a5026432b399345a30a39c8 (diff) |
polaris pwk 1725cgld full support
- significant improvements, correctnesses and stability fixes in
protocol implementation
- correct handling of device appearances and disappearances
- flawlessly functioning telegram bot that re-renders kettle's state
(temperature and other) in real time
Diffstat (limited to 'src/home/api/errors')
-rw-r--r-- | src/home/api/errors/api_response_error.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/api/errors/api_response_error.py b/src/home/api/errors/api_response_error.py index 6910b2d..85d788b 100644 --- a/src/home/api/errors/api_response_error.py +++ b/src/home/api/errors/api_response_error.py @@ -1,4 +1,4 @@ -from typing import Optional +from typing import Optional, List class ApiResponseError(Exception): @@ -6,7 +6,7 @@ class ApiResponseError(Exception): status_code: int, error_type: str, error_message: str, - error_stacktrace: Optional[list[str]] = None): + error_stacktrace: Optional[List[str]] = None): super().__init__() self.status_code = status_code self.error_message = error_message |