ayaports/backports/py3-flask-limiter/our-std-is-good-enough.patch

23 lines
553 B
Diff
Raw Permalink Normal View History

--- ./flask_limiter/typing.py.orig
+++ ./flask_limiter/typing.py
@@ -11,7 +11,7 @@
cast,
)
-from typing_extensions import ParamSpec
+from typing import ParamSpec
R = TypeVar("R")
P = ParamSpec("P")
--- ./flask_limiter/commands.py.orig
+++ ./flask_limiter/commands.py
@@ -14,7 +14,7 @@
from rich.table import Table
from rich.theme import Theme
from rich.tree import Tree
-from typing_extensions import TypedDict
+from typing import TypedDict
from werkzeug.exceptions import MethodNotAllowed, NotFound
from werkzeug.routing import Rule