We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api_settings.ALLOWED_VERSIONS
in settings.pyi the type of ALLOWED_VERSIONS is hinted to Optional[str].
ALLOWED_VERSIONS
Optional[str]
This setting is typically a list of allowed version strings and should be typed as Optional[List[str]] or similar.
Optional[List[str]]
python
django
mypy
django-stubs
djangorestframework-stubs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
What's wrong
in settings.pyi the type of
ALLOWED_VERSIONS
is hinted toOptional[str]
.How is that should be
This setting is typically a list of allowed version strings and should be typed as
Optional[List[str]]
or similar.System information
python
version: 3.8.10django
version: 3.2.10mypy
version: 0.930django-stubs
version: 1.9.0djangorestframework-stubs
version: 1.4.0The text was updated successfully, but these errors were encountered: