We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8413fed commit 738a1e6Copy full SHA for 738a1e6
src/app/schemas/rate_limit.py
@@ -24,7 +24,7 @@ class RateLimitBase(BaseModel):
24
]
25
26
@field_validator('path')
27
- def validate_and_sanitize_path(cls, v: str):
+ def validate_and_sanitize_path(cls, v: str) -> str:
28
return sanitize_path(v)
29
30
@@ -68,7 +68,7 @@ class RateLimitUpdate(BaseModel):
68
name: str | None = None
69
70
71
72
return sanitize_path(v) if v is not None else None
73
74
0 commit comments