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

SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui,SoftwareHeritage/swh-web-ui