mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-03-16 11:34:57 +08:00
issue-914: ValidationError.error_dict type fix (#915)
This commit is contained in:
@@ -45,7 +45,7 @@ _MsgType = Union[
|
||||
]
|
||||
|
||||
class ValidationError(Exception):
|
||||
error_dict: Dict[str, ValidationError] = ...
|
||||
error_dict: Dict[str, List[ValidationError]] = ...
|
||||
error_list: List[ValidationError] = ...
|
||||
message: str = ...
|
||||
code: Optional[str] = ...
|
||||
|
||||
Reference in New Issue
Block a user