File tree 2 files changed +1
-1
lines changed
rest_framework-stubs/schemas
2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ class AutoSchema(ViewInspector):
59
59
def map_field (self , field : Field ) -> dict [str , Any ]: ...
60
60
def map_serializer (self , serializer : BaseSerializer ) -> dict [str , Any ]: ...
61
61
def map_field_validators (self , field : Any , schema : Any ) -> None : ...
62
+ def get_field_name (self , field : Field ) -> str : ...
62
63
def get_paginator (self ) -> type [BasePagination ] | None : ...
63
64
def map_parsers (self , path : str , method : str ) -> list [str ]: ...
64
65
def map_renderers (self , path : str , method : str ) -> list [str ]: ...
Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ rest_framework.generics.GenericAPIView.__class_getitem__
149
149
rest_framework.request.Request.__class_getitem__
150
150
rest_framework.response.Response.__class_getitem__
151
151
rest_framework.routers.BaseRouter.is_already_registered
152
- rest_framework.schemas.openapi.AutoSchema.get_field_name
153
152
rest_framework.serializers.DecimalField.__init__
154
153
rest_framework.serializers.Field.__class_getitem__
155
154
rest_framework.serializers.LIST_SERIALIZER_KWARGS_REMOVE
You can’t perform that action at this time.
0 commit comments