mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Remove future import to fix broken typing.get_type_hints call (#117837)
This commit is contained in:
parent
508cc2e5a1
commit
58d0ac7f21
@ -1,6 +1,8 @@
|
|||||||
"""Helpers for config validation using voluptuous."""
|
"""Helpers for config validation using voluptuous."""
|
||||||
|
|
||||||
from __future__ import annotations
|
# PEP 563 seems to break typing.get_type_hints when used
|
||||||
|
# with PEP 695 syntax. Fixed in Python 3.13.
|
||||||
|
# from __future__ import annotations
|
||||||
|
|
||||||
from collections.abc import Callable, Hashable
|
from collections.abc import Callable, Hashable
|
||||||
import contextlib
|
import contextlib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user