@@ -63,6 +63,8 @@ This module defines the following functions:
63
63
:py:const: `2 ` for logging the method calls with arguments and the complete results and
64
64
:py:const: `9 ` for also logging the traceback of method calls.
65
65
66
+ Additional keyword arguments are passed to :class: `LDAPObject `.
67
+
66
68
.. seealso ::
67
69
68
70
:rfc: `4516 ` - Lightweight Directory Access Protocol (LDAP): Uniform Resource Locator
@@ -579,33 +581,16 @@ LDAPObject classes
579
581
580
582
.. py :class :: LDAPObject
581
583
582
- Instances of :py:class: `LDAPObject ` are returned by :py:func: `initialize() `
583
- and :py:func: ` open() ` (deprecated). The connection is automatically unbound
584
+ Instances of :py:class: `LDAPObject ` are returned by :py:func: `initialize() `.
585
+ The connection is automatically unbound
584
586
and closed when the LDAP object is deleted.
585
587
586
- Internally :py:class: `LDAPObject ` is set to :py:class: `SimpleLDAPObject `
587
- by default.
588
-
589
- .. py :class :: SimpleLDAPObject(uri [, trace_level=0 [, trace_file=sys.stdout [, trace_stack_limit=5 ]]])
590
-
591
- This basic class wraps all methods of the underlying C API object.
592
-
593
- The arguments are same like for function :py:func: `initialize() `.
594
-
595
- .. py :class :: ReconnectLDAPObject(uri [, trace_level=0 [, trace_file=sys.stdout [, trace_stack_limit=5 ] [, retry_max=1 [, retry_delay=60.0 ]]]])
596
-
597
- This class is derived from :py:class: `SimpleLDAPObject ` and used for automatic
598
- reconnects when using the synchronous request methods (see below). This class
599
- also implements the pickle protocol.
600
-
601
- The first arguments are same like for function :py:func: `initialize() `.
602
-
603
- For automatic reconnects it has additional arguments:
588
+ Internally :py:class: `LDAPObject ` is set to
589
+ :py:class: `~ldap.ldapobject.SimpleLDAPObject ` by default.
604
590
605
- *retry_max * specifies the number of reconnect attempts before
606
- re-raising the :py:exc: `ldap.SERVER_DOWN ` exception.
591
+ .. autoclass :: ldap.ldapobject.SimpleLDAPObject
607
592
608
- * retry_delay * specifies the time in seconds between reconnect attempts.
593
+ .. autoclass :: ldap.ldapobject.ReconnectLDAPObject
609
594
610
595
611
596
.. _ldap-controls :
0 commit comments