From ee51fdf72d7611aa6eb2a7b36a2177f1daa39f55 Mon Sep 17 00:00:00 2001 From: Damian Shaw Date: Tue, 28 Nov 2023 20:50:39 -0500 Subject: [PATCH] Fix Literal --- src/resolvelib/resolvers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolvelib/resolvers.py b/src/resolvelib/resolvers.py index e5e1b15..6c475d5 100644 --- a/src/resolvelib/resolvers.py +++ b/src/resolvelib/resolvers.py @@ -10,7 +10,6 @@ Generic, Iterable, List, - Literal, Mapping, NamedTuple, Optional, @@ -35,6 +34,7 @@ if TYPE_CHECKING: from .providers import Preference + from typing_extensions import Literal BacktrackStrategy = Literal["backjump_fallback", "backjump", "backtrack"]