mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +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."""
|
||||
|
||||
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
|
||||
import contextlib
|
||||
|
Reference in New Issue
Block a user