Skip to content

Fix two misplaced sentences in validation errors documentation #11302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

ananiavito
Copy link
Contributor

@ananiavito ananiavito commented Jan 19, 2025

Change Summary

  1. The sentence "This error is also raised for strict fields when the input value is not an instance of bool." was under the section for the "bytes_invalid_encoding" error instead of the section for the "bool_type" error. I moved it accordingly.
  2. The sentence "This error is also raised for strict fields when the input value is not an instance of Decimal.", related to the "decimal_type" validation error , was present also under the section for the "decimal_whole_digits" error. I deleted it from the "decimal_whole_digits" section.

Please review.

@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label Jan 19, 2025
Copy link

codspeed-hq bot commented Jan 19, 2025

CodSpeed Performance Report

Merging #11302 will not alter performance

Comparing ananiavito:main (b52fa48) with main (fa61ff8)

Summary

✅ 45 untouched benchmarks

Copy link
Contributor

Coverage report

This PR does not seem to contain any modification to coverable code.

@Viicos Viicos changed the title DOCS: fix two misplaced sentences in validation errors doc Fix two misplaced sentences in validation errors documentation Jan 19, 2025
Copy link
Member

@Viicos Viicos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix

@Viicos Viicos merged commit 968d64f into pydantic:main Jan 19, 2025
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relnotes-fix Used for bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants