Samuel Colvin
ff3fa95eb0
convert values to a function, fix #28 ( #43 )
2017-06-07 22:40:09 +01:00
Samuel Colvin
691b947576
add pretty print for models ( #42 )
2017-06-07 20:34:13 +01:00
Samuel Colvin
c81ec9aeec
add support for annotation only fields ( #41 )
...
* add support for annotation only fields, fix #34
* adding tests with mypy
* adding docs for mypy usage
* adding mypy failure test
* adding alias tests
* tweak mypy tests
2017-06-07 19:56:46 +01:00
Samuel Colvin
ea88afb212
allow aliases
2017-05-31 13:41:53 +01:00
Samuel Colvin
9ecae91dad
allow Any, fix #21
2017-05-31 12:07:29 +01:00
Samuel Colvin
94402d0627
allow set validation, fix #17
2017-05-31 11:59:41 +01:00
Samuel Colvin
1eca45ae11
implementing allow_extra ( #26 )
...
* implementing allow_extra
* tests for allow_extra
2017-05-31 11:19:25 +01:00
Samuel Colvin
35add310cc
improve error display
2017-05-10 12:43:29 +01:00
Samuel Colvin
ddb8e96401
allow tuples, also infer types for falsy, fix #11
2017-05-10 11:17:07 +01:00
Samuel Colvin
24b9fdcd86
removing 'validator' from exception message
2017-05-08 17:43:39 +01:00
Samuel Colvin
d6edca642a
allow None as value in None fields
2017-05-08 12:34:20 +01:00
Samuel Colvin
017d3f03be
BaseModel equality
2017-05-08 11:59:49 +01:00
Samuel Colvin
3673c11d53
improving coverage
2017-05-08 11:54:43 +01:00
Samuel Colvin
63197fc34b
cleaning up error display, enabling list parsing
2017-05-06 14:10:40 +01:00
Samuel Colvin
0214be13a5
proper support for unions
2017-05-06 00:10:48 +01:00
Samuel Colvin
7950e7f909
enum support and better type check
2017-05-05 21:10:49 +01:00
Samuel Colvin
e2d4460429
add 'allow_extra' checks
2017-05-05 20:26:14 +01:00
Samuel Colvin
7254ddc5e6
improve test coverage
2017-05-05 18:05:42 +01:00
Samuel Colvin
c333ba755c
best support resolution of
2017-05-05 15:13:15 +01:00
Samuel Colvin
2cc7531378
adding dsn tests
2017-05-05 14:22:15 +01:00