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
Using a settings in an annotated code may cause mypy to complain about their API
from appsettings import AppSettings, ListSetting
class FooSettings(AppSettings):
a_list = ListSetting()
# mypy complains: error: Value of type "ListSetting" is not indexable
FooSettings.a_list[0]
The text was updated successfully, but these errors were encountered:
Using a settings in an annotated code may cause mypy to complain about their API
The text was updated successfully, but these errors were encountered: