-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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 problem in sanitize_for_serialization for Python (pydantic type SecretStr ) BUG#16086 (2nd pull) #18023
Merged
+50
−7
Merged
Fix problem in sanitize_for_serialization for Python (pydantic type SecretStr ) BUG#16086 (2nd pull) #18023
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
800241d
fix-for-bug-16086
azdolinski 8e20da6
add to_dict alternative
azdolinski 137ff31
fix assertEqual
azdolinski 9879006
Merge pull request #2 from azdolinski/bug_16086
azdolinski b5e7bd4
Merge branch 'OpenAPITools:master' into master
azdolinski 5f8e6ba
Merge branch 'OpenAPITools:master' into master
azdolinski 737e711
remove extra blank line + test_model Argument SecretStr set
azdolinski 9238ea0
Merge branch 'OpenAPITools:master' into bug_16086
azdolinski 0bf6031
Merge branch 'OpenAPITools:master' into master
azdolinski 0abbe94
Merge branch 'master' into bug_16086
azdolinski 067ecef
Merge pull request #3 from azdolinski/bug_16086
azdolinski 5afc2d4
update samples / remove extra blank line
azdolinski 9f0f2cb
Merge pull request #4 from azdolinski/bug_16086
azdolinski 8058458
Merge branch 'OpenAPITools:master' into master
azdolinski 4c3247f
Merge branch 'OpenAPITools:master' into bug_16086
azdolinski 0ed3ba4
restore sanitize test for serialization with different data types
azdolinski b26fc96
Merge pull request #5 from azdolinski/bug_16086
azdolinski ceed176
Merge branch 'master' into master
azdolinski 45a94dc
remove empty line in api_client.mustache
azdolinski 6b8f27d
remove 2nd empty line in api_client.mustache
azdolinski 045bc2e
Merge branch 'OpenAPITools:master' into master
azdolinski 14c5972
Merge branch 'OpenAPITools:master' into master
azdolinski 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
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Oops, something went wrong.
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.
thanks for adding another test below
shouldn't this test/assertion still pass after this change?
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.
yes, you are right... it can make sense to keep this line also as in case of password which will be as default string - it will also work. I added this line back to this pull.. 0ed3ba4 + will check sanitize function based on bytes/date/integer data types
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.
@wing328 - can you please check and confirm that now is ok?