Remove future import to fix broken typing.get_type_hints call (#117837)

This commit is contained in:
Marc Mueller 2024-05-21 09:39:47 +02:00 committed by GitHub
parent 508cc2e5a1
commit 58d0ac7f21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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