-
Notifications
You must be signed in to change notification settings - Fork 126
Make initialize() pass extra keyword arguments to LDAPObject #250
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
Conversation
Use signatures and doc from the code (and docstrings) using Sphinx autodoc.
Codecov Report
@@ Coverage Diff @@
## master #250 +/- ##
===========================================
+ Coverage 58.1% 70.93% +12.82%
===========================================
Files 49 49
Lines 5907 4816 -1091
Branches 813 812 -1
===========================================
- Hits 3432 3416 -16
+ Misses 2157 1066 -1091
- Partials 318 334 +16
Continue to review full report at Codecov.
|
@tiran, could you find some time for a review? |
Lib/ldap/ldapobject.py
Outdated
@@ -76,7 +76,9 @@ class NO_UNIQUE_ENTRY(ldap.NO_SUCH_OBJECT): | |||
|
|||
class SimpleLDAPObject: | |||
""" | |||
Drop-in wrapper class around _ldap.LDAPObject | |||
This basic class wraps all methods of the underlying C API object. |
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.
Please also indent the leading and trailing """
.
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.
That would mean re-indenting the entire class, which is too much for this PR. So I un-indented the contents instead.
Lib/ldap/ldapobject.py
Outdated
(e.g. in Lotus Domino) which drop connections very often making | ||
it impossible to have a long-lasting control flow in the | ||
application. | ||
:py:class:`SimpleLDAPObject` subclass whose synchronous request methods |
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.
Please also indent the leading and trailing """
.
Fixes: #249
Also, documentation for these should now match the code.