fastapi-limiter
fastapi-limiter copied to clipboard
A request rate limiter for fastapi
Closes #16 Related to #14
it works when i use uvicorn to start ther server,but HTTP 500 when i start it by IIS
Hello! Is there any way to reset (call block) limit inside source code of the function (e.g: Set limit once there is some condition under route)?
HI: Fist of all, I want to appreciate that you build such awesome tool. When i use this library encounter some problem like title, which code write on ``` File...
aioredis version 2 has been released but this library is working with the old version of aioredis (1.3.1).
Creating a new project with latest versions of fastapi and fastapi-limiter runs into an issue: ``` TypeError: evalsha() got an unexpected keyword argument 'keys' ``` I used the following test...
Looking at FastAPI rate limiter v0.1.4 , we got an error after restarting Redis: ``` File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 52, in app response = await func(request) File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 204, in...
enabled: Default value is True which changes no features, but can be set to False. When False, no limiting checks will be done. Use Cases: For debugging other features of...
Self-explanatory, the most up-to-date available with this package is 4.5
When writing unit tests, I'd like to use [`app.dependency_overrides`](https://fastapi.tiangolo.com/advanced/testing-dependencies/) to replace RateLimiter with a stub. pseudo code ```.py def test_hoge(): app: FastAPI ... app.dependency_overrides[RateLimiter(times=60, minutes=1)] = lambda: True ``` related...