-
Notifications
You must be signed in to change notification settings - Fork 215
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
[Fix(9559)]
- Validation fails for enum field with decimal type
#1324
Open
mikeleppane
wants to merge
15
commits into
pydantic:main
Choose a base branch
from
mikeleppane:fix(9559)/validation-fails-for-enum-field-with-decimal-type
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Fix(9559)]
- Validation fails for enum field with decimal type
#1324
mikeleppane
wants to merge
15
commits into
pydantic:main
from
mikeleppane:fix(9559)/validation-fails-for-enum-field-with-decimal-type
Commits on Jun 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d736610 - Browse repository at this point
Copy the full SHA d736610View commit details -
Configuration menu - View commit details
-
Copy full SHA for 399245b - Browse repository at this point
Copy the full SHA 399245bView commit details -
The code changes modify the test cases for enum validation with decimal values. The test cases now only include the values -1, 0, and 1. Additionally, a new assertion is added to validate the decimal values as floats. This change improves the validation of enum fields with decimal values.
Configuration menu - View commit details
-
Copy full SHA for 36ce3ba - Browse repository at this point
Copy the full SHA 36ce3baView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd32fc0 - Browse repository at this point
Copy the full SHA dd32fc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b327afa - Browse repository at this point
Copy the full SHA b327afaView commit details
Commits on Jun 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b11d3e8 - Browse repository at this point
Copy the full SHA b11d3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for af0766c - Browse repository at this point
Copy the full SHA af0766cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a393e4 - Browse repository at this point
Copy the full SHA 6a393e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for beffb8f - Browse repository at this point
Copy the full SHA beffb8fView commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e23f4a - Browse repository at this point
Copy the full SHA 0e23f4aView commit details
Commits on Jun 16, 2024
-
refactor: improve validation logic to include any type that is equal …
…to a validated value
Configuration menu - View commit details
-
Copy full SHA for 80308f3 - Browse repository at this point
Copy the full SHA 80308f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5e1d3d - Browse repository at this point
Copy the full SHA a5e1d3dView commit details
Commits on Jun 17, 2024
-
refactor: make is_equal_to function generic and move it out of try_va…
…lidate_any refactor: add more test coverage
Configuration menu - View commit details
-
Copy full SHA for 00b5346 - Browse repository at this point
Copy the full SHA 00b5346View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6c2a30 - Browse repository at this point
Copy the full SHA a6c2a30View commit details -
fix: refactoring based on code review comment
removed try_validate_any function and instead try to create Python enum class. Test case modifications and fixes.
Configuration menu - View commit details
-
Copy full SHA for 5d6986c - Browse repository at this point
Copy the full SHA 5d6986cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.