Update typing syntax (#49480)
* Update typing syntax * Replace typing imports with ones from collections where possible * Changes after review
This commit is contained in:
parent
34245c3add
commit
c07646db5d
136 changed files with 284 additions and 168 deletions
|
@ -7,7 +7,6 @@ from functools import partial
|
|||
from itertools import islice
|
||||
import logging
|
||||
from time import time
|
||||
from typing import Deque
|
||||
|
||||
import pyatmo
|
||||
|
||||
|
@ -60,7 +59,7 @@ class NetatmoDataHandler:
|
|||
self.listeners: list[CALLBACK_TYPE] = []
|
||||
self._data_classes: dict = {}
|
||||
self.data = {}
|
||||
self._queue: Deque = deque()
|
||||
self._queue = deque()
|
||||
self._webhook: bool = False
|
||||
|
||||
async def async_setup(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue