Skip to content

Commit facd053

Browse files
Remove deprecated schema methods from BaseFilterProtocol (#809)
1 parent 4c2737a commit facd053

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

rest_framework-stubs/generics.pyi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from _typeshed import Incomplete
21
from collections.abc import Sequence
32
from typing import Any, Protocol, TypeVar
43

@@ -28,8 +27,6 @@ class BaseFilterProtocol(Protocol[_MT_inv]):
2827
def filter_queryset(
2928
self, request: Request, queryset: QuerySet[_MT_inv], view: views.APIView
3029
) -> QuerySet[_MT_inv]: ...
31-
def get_schema_fields(self, view: views.APIView) -> list[Any]: ...
32-
def get_schema_operation_parameters(self, view: views.APIView) -> Incomplete: ...
3330

3431
class GenericAPIView(views.APIView, UsesQuerySet[_MT_co]):
3532
queryset: QuerySet[_MT_co] | Manager[_MT_co] | None

0 commit comments

Comments
 (0)