mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 21:32:21 +01:00
update minimal python version to 3.10 (#8850)
This commit is contained in:
@@ -7,7 +7,7 @@ import functools
|
||||
import heapq
|
||||
import logging
|
||||
import re
|
||||
from typing import Any, Union
|
||||
from typing import Any
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
@@ -63,7 +63,7 @@ def iter_component_configs(config):
|
||||
yield p_name, platform, p_config
|
||||
|
||||
|
||||
ConfigPath = list[Union[str, int]]
|
||||
ConfigPath = list[str | int]
|
||||
path_context = contextvars.ContextVar("Config path")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user