2023-11-27 14:22:10 +00:00
|
|
|
--- ./limits/util.py.orig
|
|
|
|
+++ ./limits/util.py
|
|
|
|
@@ -8,7 +8,7 @@
|
|
|
|
from types import ModuleType
|
|
|
|
from typing import TYPE_CHECKING, cast
|
|
|
|
|
|
|
|
-import importlib_resources
|
|
|
|
+from importlib import resources as importlib_resources
|
|
|
|
from packaging.version import Version
|
|
|
|
|
|
|
|
from limits.typing import Dict, List, NamedTuple, Optional, Tuple, Type, Union
|
|
|
|
--- ./limits/typing.py.orig
|
|
|
|
+++ ./limits/typing.py
|
2024-06-02 23:15:29 +00:00
|
|
|
@@ -13,7 +13,7 @@
|
2023-11-27 14:22:10 +00:00
|
|
|
Union,
|
|
|
|
)
|
|
|
|
|
2024-06-02 23:15:29 +00:00
|
|
|
-from typing_extensions import ClassVar, Counter, ParamSpec, Protocol, TypeAlias
|
|
|
|
+from typing import ClassVar, Counter, ParamSpec, Protocol, TypeAlias
|
2023-11-27 14:22:10 +00:00
|
|
|
|
|
|
|
Serializable = Union[int, str, float]
|
|
|
|
|