Merge pull request #167 from aberlioz/chore/fix-shared_limit-typing

chore(extensions) fix shared_limit typing
This commit is contained in:
Thibault
2024-01-14 07:55:31 +01:00
committed by GitHub

View File

@@ -818,7 +818,7 @@ class Limiter:
def shared_limit(
self,
limit_value: Union[str, Callable[[str], str]],
limit_value: StrOrCallableStr,
scope: StrOrCallableStr,
key_func: Optional[Callable[..., str]] = None,
error_message: Optional[str] = None,