Remove typing annotation that fails in python 3.9

This commit is contained in:
Laurent Savaete
2021-08-28 21:15:19 +01:00
parent bbe6d11f1e
commit e8516c6605

View File

@@ -573,7 +573,7 @@ class Limiter:
_scope = scope if shared else None
def decorator(func: Callable[..., Response]) -> Callable[..., Response]:
def decorator(func: Callable[..., Response]):
keyfunc = key_func or self._key_func
name = f"{func.__module__}.{func.__name__}"
dynamic_limit = None