mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Remove future import to fix broken typing.get_type_hints call (#117837)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user