Skip to content

Commit

Permalink
chore: space
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Aug 20, 2024
1 parent 985643c commit 7153f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ape/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def _validate(value: Any, info: Optional[ValidationInfo] = None) -> "CurrencyVal
# NOTE: For some reason, for this to work, it has to happen
# in an "after" validator, or else it always only `int` type on the model.
if value is None:
# Will fail if not optional.
# Will fail if not optional.
# Type ignore because this is an hacky and unlikely situation.
return None # type: ignore

Expand Down

0 comments on commit 7153f95

Please sign in to comment.