Skip to content

Commit

Permalink
Add is_global keyword argument (Unused)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Apr 26, 2024
1 parent ea4dda2 commit 980aae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions starlette_plus/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def limit(
bucket: BucketType = "ip",
priority: int = 0,
exempt: ExemptCallable | None = None,
is_global: bool = False
) -> T_LimitDecorator:
def decorator(coro: Callable[..., RouteCoro] | _Route) -> LimitDecorator:
limits: RateLimitData = {
Expand Down

0 comments on commit 980aae6

Please sign in to comment.