-
Notifications
You must be signed in to change notification settings - Fork 392
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
[#3521] fix(client-python): Fix hash()
function with multiple variables issue in name_identitifer
#3522
Conversation
@xunliu Could you take a look of this? Thanks. |
hash()
function in name_identitifer
hash()
function with multiple variables issue in name_identitifer
) | ||
identifier_dict = {name_identifier1: "test1", name_identifier2: "test2"} | ||
|
||
self.assertEqual("test1", identifier_dict.get(name_identifier1)) |
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.
I guess we could also add a assertNotEqual("test2", identifier_dict.get(name_identifier1)))
in the use case?
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.
Done
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.
LGTM
@xloya Thank you fix this issue.
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.
LGTM. Thanks @xloya for your fix.
…bles issue in `name_identitifer` (#3522) ### What changes were proposed in this pull request? Fix `hash()` function in `name_identifier`. ### Why are the changes needed? Fix: #3521 ### How was this patch tested? Add a ut. --------- Co-authored-by: xiaojiebao <[email protected]>
… variables issue in `name_identitifer` (apache#3522) ### What changes were proposed in this pull request? Fix `hash()` function in `name_identifier`. ### Why are the changes needed? Fix: apache#3521 ### How was this patch tested? Add a ut. --------- Co-authored-by: xiaojiebao <[email protected]>
…bles issue in `name_identitifer` (#3522) ### What changes were proposed in this pull request? Fix `hash()` function in `name_identifier`. ### Why are the changes needed? Fix: #3521 ### How was this patch tested? Add a ut. --------- Co-authored-by: xiaojiebao <[email protected]> (cherry picked from commit 1bb5f62)
What changes were proposed in this pull request?
Fix
hash()
function inname_identifier
.Why are the changes needed?
Fix: #3521
How was this patch tested?
Add a ut.