From a07f889e07f1595f488a1a9aff1f9d5146946cb3 Mon Sep 17 00:00:00 2001 From: SaJH Date: Mon, 15 Apr 2024 00:41:14 +0900 Subject: [PATCH] [3.15] Add serializers.LIST_SERIALIZER_KWARGS_REMOVE --- rest_framework-stubs/serializers.pyi | 1 + scripts/stubtest/allowlist_todo.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework-stubs/serializers.pyi b/rest_framework-stubs/serializers.pyi index bfea4712f..1bf1fb3be 100644 --- a/rest_framework-stubs/serializers.pyi +++ b/rest_framework-stubs/serializers.pyi @@ -67,6 +67,7 @@ from rest_framework.validators import BaseUniqueForValidator, UniqueTogetherVali from typing_extensions import Self LIST_SERIALIZER_KWARGS: Sequence[str] +LIST_SERIALIZER_KWARGS_REMOVE: Sequence[str] ALL_FIELDS: str _MT = TypeVar("_MT", bound=Model) # Model Type diff --git a/scripts/stubtest/allowlist_todo.txt b/scripts/stubtest/allowlist_todo.txt index e807c6039..aeff299da 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -150,7 +150,6 @@ rest_framework.response.Response.__class_getitem__ rest_framework.routers.BaseRouter.is_already_registered rest_framework.serializers.DecimalField.__init__ rest_framework.serializers.Field.__class_getitem__ -rest_framework.serializers.LIST_SERIALIZER_KWARGS_REMOVE rest_framework.serializers.ListSerializer.run_child_validation rest_framework.serializers.ModelSerializer.get_unique_together_constraints rest_framework.templatetags.rest_framework.optional_logout