Commit Graph

15 Commits

Author SHA1 Message Date
Or Carmi 9900c7f00c Refactored extra types to use a single enum (#352)
deprecated `ignore_extra` and `allow_extra` Config fields in favor of `extra`, fix #352

* refaactored extra types to use a single enum

* slightly simplified

* added tests

* fixed most stuff

* docs and some simplifications

* better assert

* changed enum and fixed logic

* trying to capture deprecation warning

* make format

* fixing tests and moving exta logic to __new__

* set_extra tests

* fox benchmarks

* formatting

* updated history

* docs

* added a negative tests

* reverted format changes

* format

* matched casing

* renamed values

* more fixes

* forgot values change

* another one

* weird stuff

* linting issue

* Update pydantic/main.py

Co-Authored-By: liiight <4374581+liiight@users.noreply.github.com>
2019-02-04 13:15:07 +00:00
Samuel Colvin 85f8a6b60e fix benchmarks with 3.7 (#219) 2018-07-02 12:28:46 +01:00
Samuel Colvin 2966beeb40 rerun benchmarks, update history 2018-03-25 18:24:40 +01:00
Samuel Colvin 1077a884ac fix benchmarks 2017-11-06 15:19:16 +00:00
Samuel Colvin 7c9c0d46aa fix toastedmarshmallow benchmarks and add marshmallow benchmarks (#91)
* fix toastedmarshmallow benchmarks and add marshmallow benchmarks

* format benchmarks better

* add runtime for netlify

* remove sphinxcontrib-spelling==4.0.1

* remove docs linting

* adding benchmarks section to docs
2017-10-23 19:53:35 +01:00
Mickaël Guérin 1d9a337f70 Add Toasted Marshmallow Benchmark (#85)
https://github.com/lyft/toasted-marshmallow

As said in the README of this project :
Toasted Marshmallow implements a JIT for marshmallow that speeds up
dumping objects 10-25X (depending on your schema). Toasted Marshmallow
allows you to have the great API that Marshmallow provides without
having to sacrifice performance!
2017-10-23 15:26:51 +01:00
Samuel Colvin 5efa54d80d annotation only fields first 2017-07-08 19:01:38 +01:00
Samuel Colvin ebca8df223 improving benchmarks 2017-07-08 17:31:13 +01:00
Samuel Colvin 71a3b45995 speedup benchmarks 2017-06-13 10:15:19 +01:00
Samuel Colvin 6923e5e677 models allowing immutability (#44)
* working on models allowing immutability, ref #38

* up complexity

* use noqa c901

* fixing fields with new processor

* allow_mutation config and tests

* uprev, history and docs

* fix typos
2017-06-13 09:52:47 +01:00
Mickaël Guérin 8364a6b2d6 Add DRF Benchmark (#47) 2017-06-12 18:57:46 +01:00
Samuel Colvin 7f50946722 adding more usage examples 2017-06-03 17:04:10 +01:00
Samuel Colvin 11ea624e62 add int size validation 2017-05-08 17:25:44 +01:00
Samuel Colvin ca1551f6fc pyup ignore benchmarks 2017-05-08 15:58:08 +01:00
Samuel Colvin ef60baa65e adding performance benchmarks 2017-05-08 15:56:36 +01:00