Upstash · Function
fixedWindow
Upstash Ratelimit for Python limits requests stored in Redis. Choose an algorithm, then call limit with an identifier to accept or reject each request.
Last updated
Syntax
Ratelimit(redis=..., limiter=..., prefix=...); ratelimit.limit(identifier, rate=...)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
RatelimitFixedWindowSlidingWindowTokenBucketResponseupstash_ratelimit.asyncioRedis.from_env