f213/education-backend

View on GitHub
src/apps/a12n/api/throttling.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
from rest_framework.throttling import AnonRateThrottle

from core.throttling import ConfigurableThrottlingMixin


class AuthAnonRateThrottle(ConfigurableThrottlingMixin, AnonRateThrottle):  # type: ignore
    """Throttle for any authorization views."""

    scope = "anon-auth"