Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix type annotation of message_dict. (#1073)
When message_dict is accessed, it either raises an `AttributeError` or returns a `dict`. There is no way for it to be `Optional`. https://github.com/django/django/blob/caad462feaa84ba78ed658a9595a4a4363dad2db/django/core/exceptions.py#L170-L176 Signed-off-by: Zixuan James Li <[email protected]>
- Loading branch information