| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Return as many validation errors as possible.multiple_errors | Alec Thomas | 2011-10-20 | 1 | -6/+26 |
| | | | | | | | Errors are now returned in an InvalidList exception, which has the same interface as Invalid but also includes a .errors attribute with all encountered errors. | ||||
| * | Fixed the mistake of using type(schema) instead of type(data). | Jack Kuan | 2011-08-11 | 1 | -2/+2 |
| | | |||||
| * | Made dict and list work as type validators... | Jack Kuan | 2011-08-11 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | 1. Made dict and list work as type validators so:: >>> Schema(dict)({'a': 1}) {'a': 1} >>> Schema(list)([1,2,3]) [1, 2, 3] 2. Validation now returns the correct type of instance for subclass of list or dict:: >>> class Dict(dict): ... pass >>> isinstance(Schema(Dict)(Dict(a=1)), Dict) True | ||||
| * | Improved README considerably. | Alec Thomas | 2010-07-28 | 1 | -2/+0 |
| | | |||||
| * | Add support for "extra" keys. | Alec Thomas | 2010-07-27 | 1 | -4/+17 |
| | | |||||
| * | *Vastly* improved error reporting. | Alec Thomas | 2010-07-20 | 1 | -0/+42 |
