We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ModelSerializer.instance
many=True
1 parent 363c319 commit eff0fabCopy full SHA for eff0fab
rest_framework-stubs/serializers.pyi
@@ -192,7 +192,6 @@ class ModelSerializer(Serializer[_MT]):
192
serializer_url_field: type[RelatedField]
193
serializer_choice_field: type[Field]
194
url_field_name: str | None
195
- instance: _MT | Sequence[_MT] | None # type: ignore[assignment]
196
197
class Meta:
198
model: type[_MT] # type: ignore
0 commit comments