mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Update Union typing (4) [Py310] (#86427)
This commit is contained in:
@@ -11,7 +11,7 @@ from functools import partial
|
||||
import itertools
|
||||
import logging
|
||||
from types import MappingProxyType
|
||||
from typing import Any, TypedDict, Union, cast
|
||||
from typing import Any, TypedDict, cast
|
||||
|
||||
import async_timeout
|
||||
import voluptuous as vol
|
||||
@@ -1110,7 +1110,7 @@ async def _async_stop_scripts_at_shutdown(hass, event):
|
||||
)
|
||||
|
||||
|
||||
_VarsType = Union[dict[str, Any], MappingProxyType]
|
||||
_VarsType = dict[str, Any] | MappingProxyType
|
||||
|
||||
|
||||
def _referenced_extract_ids(data: Any, key: str, found: set[str]) -> None:
|
||||
|
||||
Reference in New Issue
Block a user