File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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
88from rest_framework .metadata import BaseMetadata
99from rest_framework .negotiation import BaseContentNegotiation
1010from rest_framework .parsers import BaseParser
11- from rest_framework .permissions import _PermissionClass , _SupportsHasPermission
11+ from rest_framework .permissions import BasePermission , _PermissionClass
1212from rest_framework .renderers import BaseRenderer
1313from rest_framework .request import Request
1414from rest_framework .response import Response
@@ -71,7 +71,7 @@ class APIView(View):
7171 def get_renderers (self ) -> list [BaseRenderer ]: ...
7272 def get_parsers (self ) -> list [BaseParser ]: ...
7373 def get_authenticators (self ) -> list [BaseAuthentication ]: ...
74- def get_permissions (self ) -> Sequence [ _SupportsHasPermission ]: ...
74+ def get_permissions (self ) -> list [ BasePermission ]: ...
7575 def get_throttles (self ) -> list [BaseThrottle ]: ...
7676 def get_content_negotiator (self ) -> BaseContentNegotiation : ...
7777 def get_exception_handler (self ) -> Callable : ...
You can’t perform that action at this time.
0 commit comments