-
Notifications
You must be signed in to change notification settings - Fork 901
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
[KIP-554] User SCRAM credentials API #1575
Conversation
Solve some memory leaks Improve examples
in alterations, as in J,
user description. Add documentation.
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.
Went through _scram.py file, examples folder and docs folder only. Going through other files.
self.scram_credential_infos = scram_credential_infos | ||
|
||
|
||
class UserScramCredentialAlteration: |
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.
We should mark this class as Abstract.
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.
Subclassing ABC doesn't really make it non-instantiable if there isn't an abstract method.
It this case it should be more like a Kotlin sealed class, that cannot be subclassed outside the package,
but it's not possible in Python.
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.
Ongoing C files review.
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.
Checking response
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.
- Check all the local variables in the Response parsing for Ref Count.
- Don't nest multiple functions. create local variables for readability.
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.
Almost there. Some nits. Nothing major.
and exception message
related to PyDict_SetItemString
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.
Great work Guys!.
LGTM! :)
No description provided.