Update typing syntax (#49480)

* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
This commit is contained in:
Marc Mueller 2021-04-20 17:40:41 +02:00 committed by GitHub
parent 34245c3add
commit c07646db5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
136 changed files with 284 additions and 168 deletions

View file

@ -3,10 +3,11 @@ from __future__ import annotations
from abc import ABC, abstractmethod
import asyncio
from collections.abc import Coroutine
from dataclasses import dataclass
from itertools import groupby
import logging
from typing import Any, Awaitable, Callable, Coroutine, Iterable, Optional, cast
from typing import Any, Awaitable, Callable, Iterable, Optional, cast
import voluptuous as vol
from voluptuous.humanize import humanize_error