mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Update typing syntax (#49480)
* Update typing syntax * Replace typing imports with ones from collections where possible * Changes after review
This commit is contained in:
@@ -3,12 +3,13 @@ from __future__ import annotations
|
||||
|
||||
from asyncio import Semaphore, coroutines, ensure_future, gather, get_running_loop
|
||||
from asyncio.events import AbstractEventLoop
|
||||
from collections.abc import Awaitable, Coroutine
|
||||
import concurrent.futures
|
||||
import functools
|
||||
import logging
|
||||
import threading
|
||||
from traceback import extract_stack
|
||||
from typing import Any, Awaitable, Callable, Coroutine, TypeVar
|
||||
from typing import Any, Callable, TypeVar
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user