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
example.py:6: error: Return type "List[BasePermission]" of "get_permissions" incompatible with return type "List[_SupportsHasPermission]" in supertype "APIView" [override]
Even though BasePermission implements _SupportsHasPermission
System information
OS:
python version: 3.10
django version: 4.1
mypy version: 0.991
django-stubs version: 1.13
The text was updated successfully, but these errors were encountered:
In this example:
Mypy generates the following error:
Even though
BasePermission
implements_SupportsHasPermission
System information
python
version: 3.10django
version: 4.1mypy
version: 0.991django-stubs
version: 1.13The text was updated successfully, but these errors were encountered: