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>
13 lines
397 B
Python
13 lines
397 B
Python
# flake8: noqa
|
|
from .class_validators import validator
|
|
from .env_settings import BaseSettings
|
|
from .error_wrappers import ValidationError
|
|
from .errors import *
|
|
from .fields import Required
|
|
from .main import BaseConfig, BaseModel, Extra, create_model, validate_model
|
|
from .parse import Protocol
|
|
from .types import *
|
|
from .version import VERSION
|
|
from . import dataclasses
|
|
from .schema import Schema
|