Commits

Andriy Kornatskyy committed b9da70d

Added 'optional' synonym to 'missing' rule.

Comments (0)

Files changed (1)

src/wheezy/validation/rules.py

 
 
 required = RequiredRule()
-missing = MissingRule()
+missing = optional = MissingRule()
 length = LengthRule
 compare = CompareRule
 regex = RegexRule