You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to specify SPECTACULAR_SETTINGS["SERVERS"] per Settings mypy complains Error: List item 0 has incompatible type "dict[str, Any]"; expected "str" [list-item]. Per the docs this setting should be a list of dicts.
Bug report
What's wrong
When trying to specify
SPECTACULAR_SETTINGS["SERVERS"]
per Settings mypy complainsError: List item 0 has incompatible type "dict[str, Any]"; expected "str" [list-item]
. Per the docs this setting should be a list of dicts.How is that should be
That is example from the docs.
System information
python
version: 3.12.4django
version: 4.2.15mypy
version: 1.7.1django-stubs
version: 5.0.4The text was updated successfully, but these errors were encountered: