fix link to discriminated union section by @PrettyWood
v1.9.0a1 (2021-12-18) Changes
Add support for Decimal-specific validation configurations in Field(), additionally to using condecimal(),
to allow better support from editors and tooling, #3507 by @tiangolo
Add arm64 binaries suitable for MacOS with an M1 CPU to PyPI, #3498 by @samuelcolvin
Fix issue where None was considered invalid when using a Union type containing Any or object, #3444 by @tharradine
When generating field schema, pass optional field argument (of type
pydantic.fields.ModelField) to __modify_schema__() if present, #3434 by @jasujm
Fix issue when pydantic fail to parse typing.ClassVar string type annotation, #3401 by @uriyyo
Mention Python >= 3.9.2 as an alternative to typing_extensions.TypedDict, #3374 by @BvB93
Changed the validator method name in the Custom Errors example
to more accurately describe what the validator is doing; changed from name_must_contain_space to value_must_equal_bar, #3327 by @michaelrios28
fix link to discriminated union section by @PrettyWood
v1.9.0a1 (2021-12-18) Changes
Add support for Decimal-specific validation configurations in Field(), additionally to using condecimal(),
to allow better support from editors and tooling, #3507 by @tiangolo
Add arm64 binaries suitable for MacOS with an M1 CPU to PyPI, #3498 by @samuelcolvin
Fix issue where None was considered invalid when using a Union type containing Any or object, #3444 by @tharradine
When generating field schema, pass optional field argument (of type
pydantic.fields.ModelField) to __modify_schema__() if present, #3434 by @jasujm
Fix issue when pydantic fail to parse typing.ClassVar string type annotation, #3401 by @uriyyo
Mention Python >= 3.9.2 as an alternative to typing_extensions.TypedDict, #3374 by @BvB93
Changed the validator method name in the Custom Errors example
to more accurately describe what the validator is doing; changed from name_must_contain_space to value_must_equal_bar, #3327 by @michaelrios28
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pydantic from 1.8.2 to 1.9.0.
Release notes
Sourced from pydantic's releases.
... (truncated)
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
fbf8002
prepare for v1.9.0 release, extra change5406423
prepare for v1.9.0 release87da9ac
applyupdate_forward_refs
tojson_encoders
(#3595)6f26a1c
Support mypy 0.910 to 0.930 including CI tests (#3594)8ef492b
build(deps): bump mypy from 0.920 to 0.930 (#3573)2d3d266
remove failing release stepef46789
add step to upload pypi files to release5d6f48c
prepare for v1.9.0a2e882277
fix: support generic models with discriminated union (#3551)edad0db
fix: keep old behaviour ofjson()
by default (#3542)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)