mirror of
https://github.com/esphome/esphome.git
synced 2025-09-05 21:02:20 +01:00
Bump python min to 3.9 (#3871)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
"""This helper module tracks commonly used types in the esphome python codebase."""
|
||||
from typing import Dict, Union, List
|
||||
from typing import Union
|
||||
|
||||
from esphome.core import ID, Lambda, EsphomeCore
|
||||
|
||||
@@ -8,11 +8,11 @@ ConfigFragmentType = Union[
|
||||
int,
|
||||
float,
|
||||
None,
|
||||
Dict[Union[str, int], "ConfigFragmentType"],
|
||||
List["ConfigFragmentType"],
|
||||
dict[Union[str, int], "ConfigFragmentType"],
|
||||
list["ConfigFragmentType"],
|
||||
ID,
|
||||
Lambda,
|
||||
]
|
||||
ConfigType = Dict[str, ConfigFragmentType]
|
||||
ConfigType = dict[str, ConfigFragmentType]
|
||||
CoreType = EsphomeCore
|
||||
ConfigPathType = Union[str, int]
|
||||
|
Reference in New Issue
Block a user