diff --git a/rest_framework-stubs/serializers.pyi b/rest_framework-stubs/serializers.pyi index 833005d17..c7c3e3737 100644 --- a/rest_framework-stubs/serializers.pyi +++ b/rest_framework-stubs/serializers.pyi @@ -263,4 +263,4 @@ class ModelSerializer(Serializer, BaseSerializer[_MT]): def get_unique_together_validators(self) -> list[UniqueTogetherValidator]: ... def get_unique_for_date_validators(self) -> list[BaseUniqueForValidator]: ... -class HyperlinkedModelSerializer(ModelSerializer): ... +class HyperlinkedModelSerializer(ModelSerializer[_MT]): ...