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