Abdussamet Koçak
|
f41d5dca3c
|
Support assert statements inside validators (#653)
* Support assert statements inside validators
* Add a validator example that uses assert
* Add warning about consequences of using -O optimization flag
* Fix a typo
* Fix incomplete validator
* Extend exception name generation
* Improve tests
* Clarify pytest behaviour
* handle assertion error name, fix build
* Address feedback
* docs cleanup
* Incorporate feedback
* fix quotes
|
2019-08-15 12:06:21 +01:00 |
|
dmontagu
|
321cde0c88
|
Include all annotated fields in order (#715)
* Include all annotated fields in order
* Update docs and changes
* fix field ordering
* update change info
* fix coverage
|
2019-08-12 12:05:22 +01:00 |
|
Samuel Colvin
|
82ef45c890
|
alter the behaviour of dict(model) so that sub-models are nolonger converted to dictionaries (#733)
* fix iteration to not convert to dict by default
* add change
* remove extra newline
|
2019-08-12 11:31:35 +01:00 |
|
Samuel Colvin
|
5837acb288
|
test demonstrating internal ValidationError (#738)
* test demonstrating internval ValidationError
* fix #736
|
2019-08-11 14:14:02 +01:00 |
|
Samuel Colvin
|
929dab6cda
|
tweak PR template
|
2019-08-10 13:34:21 +01:00 |
|
dmontagu
|
72edca7532
|
Make bool_validator strict (#617)
* Make bool_validator strict
* incorporate feedback
* Add RelaxedBool
* Fix position in schema.py
* update BoolError message
* Incorporate feedback
* Update history
* Add changes
* Update docs/index.rst
Co-Authored-By: Samuel Colvin <samcolvin@gmail.com>
* Update docs/index.rst
Co-Authored-By: Samuel Colvin <samcolvin@gmail.com>
* Update tests/test_types.py
Co-Authored-By: Samuel Colvin <samcolvin@gmail.com>
* Incorporate feedback
* Update booleans.py
* Remove RelaxedBool
* tweak docs and update changes to new format
|
2019-08-10 12:00:29 +01:00 |
|
Samuel Colvin
|
e6c44ee069
|
Merge pull request #720 from samuelcolvin/remove-deprecated-code
Remove old, deprecated code
|
2019-08-08 11:55:53 +01:00 |
|
Samuel Colvin
|
675f65921b
|
add "Sponsor" button
Experiment to see if anyone will actually contribute to OSS they use and rely on.
|
2019-08-07 16:52:34 +01:00 |
|
Samuel Colvin
|
72bada8ca8
|
add change, and tweak change format
|
2019-08-06 16:37:38 +01:00 |
|
Samuel Colvin
|
19834d33ff
|
Remove old, deprecated code
|
2019-08-06 16:30:37 +01:00 |
|
Samuel Colvin
|
485197c8e1
|
note about creating issue before PR
|
2019-08-06 16:25:38 +01:00 |
|
Samuel Colvin
|
d97aec6174
|
Merge pull request #719 from samuelcolvin/v1-prep
Preparation for Version 1
|
2019-08-06 16:20:17 +01:00 |
|
Samuel Colvin
|
9c8bba71c6
|
Preparation for Version 1
|
2019-08-06 16:19:38 +01:00 |
|
Samuel Colvin
|
10c18ee63d
|
uprev
|
2019-08-06 15:42:49 +01:00 |
|
Samuel Colvin
|
6316a6a219
|
Merge pull request #663 from tiangolo/schema-extra
Implement schema_extra
|
2019-08-06 15:35:21 +01:00 |
|
Samuel Colvin
|
8850a0b136
|
tweak history
|
2019-08-05 15:51:21 +01:00 |
|
Sebastián Ramírez
|
3cb52b94d2
|
Fix double quotes to single quotes
|
2019-08-05 09:47:15 -05:00 |
|
Sebastián Ramírez
|
f505da5f07
|
Update History
|
2019-08-05 09:47:15 -05:00 |
|
Sebastián Ramírez
|
3bffe69fa5
|
Add schema_extra and title in docs for Config sub-class
|
2019-08-05 09:46:27 -05:00 |
|
Sebastián Ramírez
|
a8ab92f382
|
Add example and docs for schema_extra in Config
|
2019-08-05 09:45:37 -05:00 |
|
Sebastián Ramírez
|
d4d9e9e7d7
|
Implement Config attribute schema_extra, to allow extending a generated schema
|
2019-08-05 09:45:37 -05:00 |
|
Samuel Colvin
|
6be7c2103b
|
Merge pull request #706 from koxudaxi/support_forwardred_in_python36
support ForwardRef in Python 3.6
|
2019-08-05 13:27:23 +01:00 |
|
Koudai Aono
|
75afb3f178
|
merge HISTORY
|
2019-08-05 21:01:28 +09:00 |
|
Koudai Aono
|
b5d5e591ec
|
Merge remote-tracking branch 'upstream/master' into support_forwardred_in_python36
|
2019-08-05 21:00:01 +09:00 |
|
Koudai Aono
|
cffcb39c7c
|
add unittest for python3.7
|
2019-08-05 20:46:56 +09:00 |
|
Samuel Colvin
|
b479b93c40
|
Merge pull request #712 from MrMrRobat/__dict__-instead-of-__values__
Rename BaseModel.__values__ to BaseModel.__dict__
|
2019-08-05 11:48:09 +01:00 |
|
Samuel Colvin
|
bbdc8e8038
|
add test_init_inspection
|
2019-08-05 11:35:49 +01:00 |
|
Arseny Boykov
|
f01cedca14
|
Merge branch 'master' into __dict__-instead-of-__values__
|
2019-08-05 12:58:46 +03:00 |
|
Samuel Colvin
|
49178a368d
|
Merge pull request #676 from dmontagu/type-in-validation-error
Add type name to ValidationError error message
|
2019-08-05 10:50:30 +01:00 |
|
MrMrRobat
|
86be8b2012
|
Union changes messages
|
2019-08-05 12:49:12 +03:00 |
|
Samuel Colvin
|
7ace58cad8
|
Merge branch 'master' into type-in-validation-error
|
2019-08-05 10:37:42 +01:00 |
|
MrMrRobat
|
0c3093be5f
|
Merge remote-tracking branch 'origin/__dict__-instead-of-__values__' into __dict__-instead-of-__values__
|
2019-08-04 01:35:07 +03:00 |
|
MrMrRobat
|
7f87dda20e
|
Remove redundant __dir__ method
|
2019-08-04 01:34:44 +03:00 |
|
Arseny Boykov
|
33ef9ce1f2
|
Update HISTORY.rst
|
2019-08-03 22:48:28 +03:00 |
|
MrMrRobat
|
1d76605736
|
Update history
|
2019-08-03 18:42:41 +03:00 |
|
MrMrRobat
|
bbf0b4bfbe
|
Add __values__ property with deprecation warning and test for it
|
2019-08-03 18:05:17 +03:00 |
|
MrMrRobat
|
abd773b5a5
|
Rename BaseModel.__values__ to BaseModel.__dict__, remove BaseModel.__getattr__
|
2019-08-03 17:19:29 +03:00 |
|
Koudai Aono
|
879a24ecb7
|
delete @skip_not_37 on forward_ref tests
|
2019-08-03 15:10:26 +09:00 |
|
Koudai Aono
|
8e0455c9c6
|
change test_py37.py to test_forward_ref.py
|
2019-08-02 21:47:15 +09:00 |
|
Samuel Colvin
|
39ee92ae19
|
Merge pull request #708 from samuelcolvin/dependabot/pip/flake8-quotes-2.1.0
Bump flake8-quotes from 2.0.1 to 2.1.0
|
2019-08-02 11:07:23 +01:00 |
|
Koudai Aono
|
84d7c4aaf2
|
fix skip_not_36 condition
|
2019-08-02 16:24:16 +09:00 |
|
Koudai Aono
|
572239b692
|
remove unnecessary a assignment
|
2019-08-02 16:01:59 +09:00 |
|
Koudai Aono
|
45b4223ddb
|
update README and History
|
2019-08-02 15:45:25 +09:00 |
|
dependabot-preview[bot]
|
a3df3aa314
|
Bump flake8-quotes from 2.0.1 to 2.1.0
Bumps [flake8-quotes](https://github.com/zheller/flake8-quotes) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/zheller/flake8-quotes/releases)
- [Commits](https://github.com/zheller/flake8-quotes/compare/2.0.1...2.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2019-08-02 06:39:16 +00:00 |
|
Koudai Aono
|
a1f4f2ada2
|
add evaluate_forwardref()
|
2019-08-02 15:20:15 +09:00 |
|
Koudai Aono
|
a4292aa24f
|
support ForwardRef in Python 3.6
|
2019-08-02 13:22:09 +09:00 |
|
Samuel Colvin
|
719501c68b
|
uprev
|
2019-07-31 12:06:08 +01:00 |
|
Samuel Colvin
|
04756627a3
|
Merge pull request #700 from samuelcolvin/dependabot/pip/docutils-0.15.2
Bump docutils from 0.14 to 0.15.2
|
2019-07-31 09:43:19 +01:00 |
|
Samuel Colvin
|
15e81b9aaf
|
Make .json() work for EnumError (#697)
* Make .json() work for EnumError
* Update history
|
2019-07-31 09:12:44 +01:00 |
|
dmontagu
|
f881d4f30c
|
Make .json() work for EnumError (#697)
Make .json() work for EnumError, fix #696
|
2019-07-31 09:12:18 +01:00 |
|