Package ldaptor :: Module delta :: Class Modification
[hide private]
[frames] | no frames]

Class Modification

source code

           object --+            
                    |            
         sets.BaseSet --+        
                        |        
                 sets.Set --+    
                            |    
attributeset.LDAPAttributeSet --+
                                |
                               Modification
Known Subclasses:
Add, Delete, Replace

Instance Methods [hide private]
 
patch(self, entry) source code
 
asLDAP(self) source code
 
__eq__(self, other)
Note that LDAPAttributeSets can also be compared against any iterator.
source code

Inherited from attributeset.LDAPAttributeSet: __copy__, __deepcopy__, __init__, __ne__, __repr__, copy, difference, intersection, symmetric_difference, union

Inherited from sets.Set: __as_immutable__, __as_temporarily_immutable__, __getstate__, __hash__, __iand__, __ior__, __isub__, __ixor__, __setstate__, add, clear, difference_update, discard, intersection_update, pop, remove, symmetric_difference_update, union_update, update

Inherited from sets.BaseSet: __and__, __cmp__, __contains__, __ge__, __gt__, __iter__, __le__, __len__, __lt__, __or__, __str__, __sub__, __xor__, issubset, issuperset

Inherited from sets.BaseSet (private): _binary_sanity_check, _compute_hash, _repr, _update

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]
  _LDAP_OP = {0: <class ldaptor.protocols.ldap.ldaperrors.Succes...
Properties [hide private]

Inherited from sets.BaseSet (private): _data

Inherited from object: __class__

Method Details [hide private]

__eq__(self, other)
(Equality operator)

source code 
Note that LDAPAttributeSets can also be compared against any iterator. In that case the attributeType will be ignored.
Overrides: attributeset.LDAPAttributeSet.__eq__
(inherited documentation)

Class Variable Details [hide private]

_LDAP_OP

Value:
{0: <class ldaptor.protocols.ldap.ldaperrors.Success at 0x86f695c>,
 1: <class 'ldaptor.protocols.ldap.ldaperrors.LDAPOperationsError'>,
 2: <class 'ldaptor.protocols.ldap.ldaperrors.LDAPProtocolError'>,
 3: <class 'ldaptor.protocols.ldap.ldaperrors.LDAPTimeLimitExceeded'>,
 4: <class 'ldaptor.protocols.ldap.ldaperrors.LDAPSizeLimitExceeded'>,
 5: <class 'ldaptor.protocols.ldap.ldaperrors.LDAPCompareFalse'>,
 6: <class 'ldaptor.protocols.ldap.ldaperrors.LDAPCompareTrue'>,
 7: <class 'ldaptor.protocols.ldap.ldaperrors.LDAPAuthMethodNotSupport\
...