Skip to content

Commit

Permalink
Merge pull request #334 from pehala/fix_validators
Browse files Browse the repository at this point in the history
Fix DefaultValueValidator validating only once
  • Loading branch information
pehala authored Feb 1, 2024
2 parents 120f9ae + c6039ca commit 36b5d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, name, default, **kwargs) -> None:
)
},
default=default,
when=Validator(name, must_exist=False),
when=Validator(name, must_exist=False) | Validator(name, eq=None),
**kwargs
)

Expand Down

0 comments on commit 36b5d1a

Please sign in to comment.