mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +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:
@@ -2,10 +2,11 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from collections.abc import Awaitable
|
||||
from datetime import datetime, timedelta
|
||||
import logging
|
||||
from time import monotonic
|
||||
from typing import Any, Awaitable, Callable, Generic, TypeVar
|
||||
from typing import Any, Callable, Generic, TypeVar
|
||||
import urllib.error
|
||||
|
||||
import aiohttp
|
||||
|
||||
Reference in New Issue
Block a user