-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade pythonfinder to 2.0.0 which brings in pydantic (#5677)
* Upgrade pyhonfinder to 2.0.0 which brings in pydantic * Add news fragment. * Add typing extensions.
- Loading branch information
Showing
59 changed files
with
16,376 additions
and
1,854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Upgrade ``pythonfinder==2.0.0`` which also brings in ``pydantic==1.10.7``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
pipenv/vendor/pythonfinder/LICENSE → pipenv/vendor/pydantic/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
# flake8: noqa | ||
from . import dataclasses | ||
from .annotated_types import create_model_from_namedtuple, create_model_from_typeddict | ||
from .class_validators import root_validator, validator | ||
from .config import BaseConfig, ConfigDict, Extra | ||
from .decorator import validate_arguments | ||
from .env_settings import BaseSettings | ||
from .error_wrappers import ValidationError | ||
from .errors import * | ||
from .fields import Field, PrivateAttr, Required | ||
from .main import * | ||
from .networks import * | ||
from .parse import Protocol | ||
from .tools import * | ||
from .types import * | ||
from .version import VERSION, compiled | ||
|
||
__version__ = VERSION | ||
|
||
# WARNING __all__ from .errors is not included here, it will be removed as an export here in v2 | ||
# please use "from pydantic.errors import ..." instead | ||
__all__ = [ | ||
# annotated types utils | ||
'create_model_from_namedtuple', | ||
'create_model_from_typeddict', | ||
# dataclasses | ||
'dataclasses', | ||
# class_validators | ||
'root_validator', | ||
'validator', | ||
# config | ||
'BaseConfig', | ||
'ConfigDict', | ||
'Extra', | ||
# decorator | ||
'validate_arguments', | ||
# env_settings | ||
'BaseSettings', | ||
# error_wrappers | ||
'ValidationError', | ||
# fields | ||
'Field', | ||
'Required', | ||
# main | ||
'BaseModel', | ||
'create_model', | ||
'validate_model', | ||
# network | ||
'AnyUrl', | ||
'AnyHttpUrl', | ||
'FileUrl', | ||
'HttpUrl', | ||
'stricturl', | ||
'EmailStr', | ||
'NameEmail', | ||
'IPvAnyAddress', | ||
'IPvAnyInterface', | ||
'IPvAnyNetwork', | ||
'PostgresDsn', | ||
'CockroachDsn', | ||
'AmqpDsn', | ||
'RedisDsn', | ||
'MongoDsn', | ||
'KafkaDsn', | ||
'validate_email', | ||
# parse | ||
'Protocol', | ||
# tools | ||
'parse_file_as', | ||
'parse_obj_as', | ||
'parse_raw_as', | ||
'schema_of', | ||
'schema_json_of', | ||
# types | ||
'NoneStr', | ||
'NoneBytes', | ||
'StrBytes', | ||
'NoneStrBytes', | ||
'StrictStr', | ||
'ConstrainedBytes', | ||
'conbytes', | ||
'ConstrainedList', | ||
'conlist', | ||
'ConstrainedSet', | ||
'conset', | ||
'ConstrainedFrozenSet', | ||
'confrozenset', | ||
'ConstrainedStr', | ||
'constr', | ||
'PyObject', | ||
'ConstrainedInt', | ||
'conint', | ||
'PositiveInt', | ||
'NegativeInt', | ||
'NonNegativeInt', | ||
'NonPositiveInt', | ||
'ConstrainedFloat', | ||
'confloat', | ||
'PositiveFloat', | ||
'NegativeFloat', | ||
'NonNegativeFloat', | ||
'NonPositiveFloat', | ||
'FiniteFloat', | ||
'ConstrainedDecimal', | ||
'condecimal', | ||
'ConstrainedDate', | ||
'condate', | ||
'UUID1', | ||
'UUID3', | ||
'UUID4', | ||
'UUID5', | ||
'FilePath', | ||
'DirectoryPath', | ||
'Json', | ||
'JsonWrapper', | ||
'SecretField', | ||
'SecretStr', | ||
'SecretBytes', | ||
'StrictBool', | ||
'StrictBytes', | ||
'StrictInt', | ||
'StrictFloat', | ||
'PaymentCardNumber', | ||
'PrivateAttr', | ||
'ByteSize', | ||
'PastDate', | ||
'FutureDate', | ||
# version | ||
'compiled', | ||
'VERSION', | ||
] |
Oops, something went wrong.