issue-914: ValidationError.error_dict type fix (#915)

This commit is contained in:
Jim King
2022-04-09 03:06:45 -04:00
committed by GitHub
parent d8b417456f
commit e468ee97da

View File

@@ -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] = ...