Data-spec-validator

Latest version: v3.4.1

Safety actively analyzes 638430 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

3.0.0

-----

Changes:

- [feature] Support class-based check
- [feature] Support nested spec class
- [feature] Support combining request query parameters with payload for POST/PUT/DELETE Request
- Checker keyword "extra" is removed.

2.1.1

-----

Changes:

- [fix] Export `FLOAT`, `DATE_OBJECT`, `DATETIME_OBJECT` check str

2.1.0

-----

Changes:

- [feature] add `FLOAT`, `DATE_OBJECT`, `DATETIME_OBJECT` check to validate python built-in type. Derived instances are
not considered valid and you can use custom spec in these cases.
- Update README

2.0.0

-----

Changes:

- [feature] add `multirow` option in `dsv` and `def validate_data_spec` to validate list of SPEC naturally.
- Update README

1.9.0

-----

Changes:

- [feature] new dsv_feature `err_mode` to collect all validation errors into exception arguments.
- [improvement] Spec name is now added before the field name in error message.
- Check `KEY_COEXISTS`, `ANY_KEY_EXISTS` are deprecated.
- Update README

1.8.0

-----

Changes:

- [fix] COND_EXIST now works with other checks correctly.
- [feature] Add new check `FOREACH`, used for any iterable.
- [behavior-change] `LIST_OF` enforce LIST type validation as well
- [behavior-change] Use `warning.warn` instead of `print`
- [internal] More type hint
- Postpone {KEY_COEXISTS, ANY_KEY_EXISTS} deprecation, will remove them in 1.9.0
- Update README

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.