We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02fb3d1 commit 4ef5f03Copy full SHA for 4ef5f03
app/main.py
@@ -2,8 +2,6 @@
2
3
from fastapi import FastAPI
4
from fastapi.exceptions import RequestValidationError
5
-from slowapi import _rate_limit_exceeded_handler
6
-from slowapi.errors import RateLimitExceeded
7
from starlette.exceptions import HTTPException
8
from starlette.middleware.cors import CORSMiddleware
9
app/settings.py
@@ -37,7 +37,7 @@ class Settings(BaseSettings):
37
38
@lru_cache
39
def get_settings() -> Settings:
40
- return Settings()
+ return Settings() # type: ignore[call-arg]
41
42
43
settings: Settings = get_settings()
0 commit comments