0.15.8
What's Changed
- Updated pagination part in the Quick Example doc by @marcjermainepontiveros-sun in #29
- Doc code clean up by @eadwinCode in #31
- Throttled Controller by @eadwinCode in #32
- Throttled Controller Doc update by @eadwinCode in #33
New Feature
@api_controller("/throttled-controller")
class ThrottlingControllerSample(ControllerBase):
throttling_classes = [
DynamicRateThrottle,
]
throttling_init_kwargs = dict(scope="dynamic_scope")
@http_get("/endpoint_1")
@throttle
def endpoint_1(self, request):
# this will override the generally throttling applied at the controller
return "foo"
@http_get("/endpoint_2")
def endpoint_2(self, request):
return "foo"
New Contributors
- @marcjermainepontiveros-sun made their first contribution in #29
Full Changelog: 0.15.6...0.15.8