python-pydantic
No description set
- Developed at devel:languages:python
-
10
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/python-pydantic && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
ignore-urllib3-pyopenssl-warning.patch | 0000000462 462 Bytes | |
pydantic-1.10.7.tar.gz | 0000903379 882 KB | |
python-pydantic.changes | 0000019889 19.4 KB | |
python-pydantic.spec | 0000002431 2.37 KB |
Revision 17 (latest revision is 30)
Dominique Leuenberger (dimstar_suse)
accepted
request 1074635
from
Dirk Mueller (dirkmueller)
(revision 17)
- update to 1.10.7: * Fix creating schema from model using `ConstrainedStr` with `regex` as dict key * Address bug in mypy plugin caused by explicit_package_bases=True * Add implicit defaults in the mypy plugin for Field with no default argument * Fix schema generated for Enum values used as Literals in discriminated unions * Fix mypy failures caused by the pydantic mypy plugin when users define `from_orm` in their own classes * Fix `InitVar` usage with pydantic dataclasses, mypy version `1.1.1` and the custom mypy plugin * Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping `functools.partial` and `functools.partialmethod` when checking the signature * Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator for pydantic dataclasses * Raise `ValidationError`, not `ConfigError`, when a discriminator value is unhashable * Fix broken parametrized bases handling with `GenericModel`s with complex sets of models * Invalidate mypy cache if plugin config changes * Fix `RecursionError` when deep-copying dataclass types wrapped by pydantic * Fix `X | Y` union syntax breaking `GenericModel`
Comments 0