We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we have Serializer.errors typed as Any, but I think we can use the ReturnDict type instead
Serializer.errors
Any
ReturnDict
https://github.com/encode/django-rest-framework/blob/98e56e0327596db352b35fa3b3dc8355dc9bd030/rest_framework/serializers.py#L551-L559
can also update BaseSerializer and Field while we are at it
BaseSerializer
Field
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently we have
Serializer.errors
typed asAny
, but I think we can use theReturnDict
type insteadhttps://github.com/encode/django-rest-framework/blob/98e56e0327596db352b35fa3b3dc8355dc9bd030/rest_framework/serializers.py#L551-L559
can also update
BaseSerializer
andField
while we are at itThe text was updated successfully, but these errors were encountered: