class documentation
class LDAPAttributeSet(set): (source)
Known subclasses: ldaptor.delta.Modification
, ldaptor.protocols.ldap.ldapsyntax.JournaledLDAPAttributeSet
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 |
overridden in
ldaptor.delta.Modification
Note that LDAPAttributeSets can also be compared against any iterator. In that case the attributeType will be ignored.
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"