Skip to content

Commit

Permalink
satisfy mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskratzel committed Jan 23, 2025
1 parent ccddb45 commit 3ede93c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, message: str, error_type: ValidationErrorType, original_excep
super().__init__(message)
self.message: str = message
self.error_type: ValidationErrorType = error_type
self.original_exception: Exception | None = original_exception
self.original_exception: Optional[Exception] = original_exception

def __str__(self) -> str:
"""Return a string representation of the validation error.
Expand Down

0 comments on commit 3ede93c

Please sign in to comment.