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
|
@ -2,9 +2,10 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from collections.abc import Generator
|
||||
import contextlib
|
||||
import logging
|
||||
from typing import Any, Generator
|
||||
from typing import Any
|
||||
|
||||
import async_timeout
|
||||
from pywemo import WeMoDevice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue