mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
9900c7f00c
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>