Repository navigation
fix(310): score a non-numeric string in a numeric field instead of raising #626
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
Open
nursnaaz
wants to merge
9
commits into
awslabs:dev
Choose a base branch
from
nursnaaz:fix/310-non-numeric-in-numeric-field
base: dev
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
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0c80d0b
fix(310): score a non-numeric string in a numeric field instead of ra…
nursnaaz e2e0a35
fix(310): keep the fallback on fields a class inherits from a generat…
nursnaaz bdc52c7
Merge remote-tracking branch 'origin/dev' into fix/310-non-numeric-in…
nursnaaz 4dd16bc
fix(310): keep a decision field's own validation, and keep the flag i…
nursnaaz f3f5af8
fix(310): check for a decision field when a value is validated too
nursnaaz 1efbace
fix(310): dump unvalidated numbers as before, and keep a retyped fiel…
nursnaaz 21b124b
fix(310): write any float()-able value in JSON mode, and tighten the …
nursnaaz f6eff8b
fix(310): read an integer-like value through __index__, as the int se…
nursnaaz ecca331
docs(310): rewrap the CHANGELOG entry
nursnaaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(310): keep the fallback on fields a class inherits from a generat…
…ed class Every generated class registered its validator under one name, and pydantic keys inherited validators by name, so a class built on a generated class replaced the validator covering the fields it inherits. Each class now gets its own name. Tests cover both builders and three levels of inheritance. Docs describe the behaviour without release history.
- Loading branch information
commit e2e0a3542281664c174dd9bc07441dc0059ebfc3
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the counter below (Must fix 1).