File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ from rest_framework.authentication import BaseAuthentication
8
8
from rest_framework .metadata import BaseMetadata
9
9
from rest_framework .negotiation import BaseContentNegotiation
10
10
from rest_framework .parsers import BaseParser
11
- from rest_framework .permissions import _PermissionClass , _SupportsHasPermission
11
+ from rest_framework .permissions import BasePermission , _PermissionClass
12
12
from rest_framework .renderers import BaseRenderer
13
13
from rest_framework .request import Request
14
14
from rest_framework .response import Response
@@ -71,7 +71,7 @@ class APIView(View):
71
71
def get_renderers (self ) -> list [BaseRenderer ]: ...
72
72
def get_parsers (self ) -> list [BaseParser ]: ...
73
73
def get_authenticators (self ) -> list [BaseAuthentication ]: ...
74
- def get_permissions (self ) -> Sequence [ _SupportsHasPermission ]: ...
74
+ def get_permissions (self ) -> list [ BasePermission ]: ...
75
75
def get_throttles (self ) -> list [BaseThrottle ]: ...
76
76
def get_content_negotiator (self ) -> BaseContentNegotiation : ...
77
77
def get_exception_handler (self ) -> Callable : ...
You can’t perform that action at this time.
0 commit comments