src/dazzle_back/runtime/rate_limit.py¶
Generated: 2026-03-30T04:38:47.889236+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Rate limiting for Dazzle Backend applications.
Provides configurable rate limiting based on security profile using slowapi.
Usage in route modules::
import dazzle_back.runtime.rate_limit as _rl
@router.post("/login")
@_rl.limits.limiter.limit(_rl.limits.auth_limit)
async def logi...
Key Exports¶
_NoOpLimiter_LimitsRateLimitConfigconfigure_rate_limits_for_profileapply_rate_limitinglimitdecorator
Dependencies¶
Imports¶
__future__.annotationsloggingdataclasses.dataclassdataclasses.fieldtyping.TYPE_CHECKINGtyping.Anyfastapi.FastAPIslowapi.Limiterslowapi._rate_limit_exceeded_handlerslowapi.errors.RateLimitExceededslowapi.util.get_remote_address
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.pytests/unit/test_runtime_mcp_tools.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.