File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55from __future__ import annotations
66
77import datetime as dt
8- from typing import Any
8+ from typing import Any , Awaitable , Callable
99
1010from plugwise .constants import (
1111 APPLIANCES ,
@@ -40,7 +40,7 @@ def __init__(
4040 self ,
4141 host : str ,
4242 password : str ,
43- request : etree ,
43+ request : Callable [..., Awaitable [ Any ]] ,
4444 timeout : int ,
4545 websession : aiohttp .ClientSession ,
4646 _is_thermostat : bool ,
Original file line number Diff line number Diff line change 55from __future__ import annotations
66
77import datetime as dt
8- from typing import Any
8+ from typing import Any , Awaitable , Callable
99
1010from plugwise .constants import (
1111 ADAM ,
@@ -45,7 +45,7 @@ def __init__(
4545 self ,
4646 host : str ,
4747 password : str ,
48- request : etree ,
48+ request : Callable [..., Awaitable [ Any ]] ,
4949 timeout : int ,
5050 websession : aiohttp .ClientSession ,
5151 _cooling_present : bool ,
You can’t perform that action at this time.
0 commit comments