class documentation

Undocumented

Method __deepcopy__ Undocumented
Method __eq__ Note that LDAPAttributeSets can also be compared against any iterator. In that case the attributeType will be ignored.
Method __init__ Represents all the values for an attribute in an LDAP entry. An entry might have "cn" or "objectClass" or "uid" attributes, and this class represents each of those.
Method __ne__ Undocumented
Method __repr__ Undocumented
Method add Adding key to the attributes with checking if it exists as byte or unicode string
Method copy Undocumented
Method remove Removing key from the attributes with checking if it exists as byte or unicode string
Instance Variable key Undocumented
def __deepcopy__(self, memo): (source)

Undocumented

def __eq__(self, other): (source)

Note that LDAPAttributeSets can also be compared against any iterator. In that case the attributeType will be ignored.

def __init__(self, key, *a, **kw): (source)

Represents all the values for an attribute in an LDAP entry. An entry might have "cn" or "objectClass" or "uid" attributes, and this class represents each of those. You can find the name of the LDAP entry attribute (eg. "uid") with the ``.key`` member variable. You can find the values of the LDAP attribute by casting this to a ``list``. @param key: the key of the attribute, eg "uid". @type key: str @param args: set of values for this attribute, eg. "jsmith"

def __ne__(self, other): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def add(self, key): (source)

Adding key to the attributes with checking if it exists as byte or unicode string

def copy(self): (source)

Undocumented

def remove(self, key): (source)

Removing key from the attributes with checking if it exists as byte or unicode string

Undocumented