-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sylvain MARIE
committed
Feb 12, 2020
1 parent
5d215fb
commit 0835d72
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
### 0.1.0 - TODO | ||
### 0.5.0 - First public version | ||
|
||
TODO | ||
* Validate both type and value with `isinstance`, thanks to easy-to-write "validating types" | ||
* `has_valid_type` and `has_valid_value` methods provided for easy auditing, as well as `is_vtype` | ||
* Validation syntax fully compliant with `valid8`. Compliant error message available through a `validate()` method | ||
* v-types are composable so that creating a library of reusable elements is straightforward (note: should we provide one in this library based on `valid8` [library](https://smarie.github.io/python-valid8/validation_funcs/b_base_validation_lib/) ?) | ||
* Two styles: `vtype(...)` constructor method, as well as an alternate `class ...(VType)` style to perform composition using inheritance, and write docstrings more easily. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters