diff --git a/rest_framework-stubs/serializers.pyi b/rest_framework-stubs/serializers.pyi index 5e31d115..32baa890 100644 --- a/rest_framework-stubs/serializers.pyi +++ b/rest_framework-stubs/serializers.pyi @@ -192,7 +192,7 @@ class ModelSerializer(Serializer[_MT]): serializer_url_field: type[RelatedField] serializer_choice_field: type[Field] url_field_name: str | None - instance: _MT | Sequence[_MT] | None # type: ignore[assignment] + instance: _MT | None class Meta: model: type[_MT] # type: ignore