HomeSoftware Heritage

api/throttling: Fix mypy errors after djangorestframework-stubs update