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
Some modules designed to work with DRF subclass the restframework.settings.APISettings class to implement their own custom settings (for example, djangorestframework-simplejwt). This class has the expected settings keys "hardcoded" into the class itself, making subclasses have to type-ignore when using their own Settings TypedDict or have some incompatible override.
The class could be made generic so subclasses pass their own TypedDict of settings.
The text was updated successfully, but these errors were encountered:
Some modules designed to work with DRF subclass the
restframework.settings.APISettings
class to implement their own custom settings (for example,djangorestframework-simplejwt
). This class has the expected settings keys "hardcoded" into the class itself, making subclasses have to type-ignore when using their own Settings TypedDict or have some incompatible override.The class could be made generic so subclasses pass their own TypedDict of settings.
The text was updated successfully, but these errors were encountered: