Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/Paper2Any
/ RateLimitRule
Class
RateLimitRule
fastapi_app/middleware/api_key.py:67–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
66
@dataclass(frozen=True)
67
class
RateLimitRule:
68
limit: int
69
window_seconds: int
70
bucket: str
71
72
73
_DEFAULT_WRITE_RULE = RateLimitRule(limit=120, window_seconds=60, bucket=
"write:global"
)
Callers
1
api_key.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected