mirror of
https://github.com/laurentS/slowapi.git
synced 2026-03-13 09:10:20 +08:00
Merge pull request #167 from aberlioz/chore/fix-shared_limit-typing
chore(extensions) fix shared_limit typing
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user