From 6da3d4c14c418e1e00e2eabedebc369b0fcbf726 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Thu, 7 Apr 2022 16:56:48 +0200 Subject: [PATCH] Fix an issue with a typing_extension import not being protected by a typing check --- constants.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/constants.py b/constants.py index 161c0a7..79e022d 100644 --- a/constants.py +++ b/constants.py @@ -8,12 +8,11 @@ from enum import Enum, auto from datetime import timedelta from typing import Any, Dict, Literal, NewType, TYPE_CHECKING -from typing_extensions import TypeAlias - from version import __version__ if TYPE_CHECKING: from collections import abc # noqa + from typing_extensions import TypeAlias # Base Paths