Commit Graph

19 Commits

Author SHA1 Message Date
Samuel Colvin ff3fa95eb0 convert values to a function, fix #28 (#43) 2017-06-07 22:40:09 +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 0757af6e5e make values recursive, fix #24 2017-05-31 11:44:31 +01:00
Samuel Colvin 90a2b6bfe3 fix enum validators ignore_extra on settings, fix #13 2017-05-11 22:19:11 +01:00
Samuel Colvin 35add310cc improve error display 2017-05-10 12:43:29 +01:00
Samuel Colvin 5cedb3e8e1 cleaner support for deep use of typing types 2017-05-09 15:40:01 +01:00
Samuel Colvin 30b54e70bd fixing recursive use of typing objects 2017-05-09 14:29:11 +01:00
Samuel Colvin 460feaee75 fixing fully recursive fields 2017-05-09 13:18:40 +01:00
Samuel Colvin cd37ad635c working on recursive fields 2017-05-09 12:21:08 +01:00
Samuel Colvin 242995beb6 simplify Union field choice 2017-05-08 19:08:16 +01:00
Samuel Colvin 24b9fdcd86 removing 'validator' from exception message 2017-05-08 17:43:39 +01:00
Samuel Colvin f7d42ae177 test for lists of sub models 2017-05-08 11:44:50 +01:00
Samuel Colvin c4f9398d79 model validator and utils tests 2017-05-06 15:35:04 +01:00
Samuel Colvin f7acee8646 support typed dicts 2017-05-06 15:07:37 +01:00
Samuel Colvin 63197fc34b cleaning up error display, enabling list parsing 2017-05-06 14:10:40 +01:00
Samuel Colvin 7afd34b4cb add test_complex.py 2017-05-06 00:11:57 +01:00