summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic_1.10.6.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pydantic: upgrade 1.10.6 -> 1.10.7Wang Mingyu2023-04-051-20/+0
| | | | | | | | | | | | | | Changelog: ========== 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 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pydantic: upgrade 1.10.5 -> 1.10.6Wang Mingyu2023-03-171-0/+20
Changelog: ========== - 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 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>