Skip to content

V0.3.1

Choose a tag to compare

@MajAhd MajAhd released this 28 Dec 13:16
· 7 commits to master since this release

In , Not_in

  • Validate in and not_in errors fixed
  • in and not_in are case-sensitive

Read Doc

install

  pip install PyValidations

Usage


data = {
   "os_name": "Linux",
 }
rules = {
   "os_name": ["required", "in:Windows,Linux"],
}
validate = PyValidations.make(data, rules)