Adminapi Module Documentation

class adminapi.dataset.Query(filters=None, restrict=['hostname'], order_by=None)
class adminapi.dataset.MultiAttr(other, obj, attribute_id)

This class must redefine all mutable methods of the set class to maintain the old values on the DatasetObject.

add(elem)

Add an element to a set.

This has no effect if the element is already present.

clear()

Remove all elements from this set.

copy()

Return a shallow copy of a set.

difference_update(*others)

Remove all elements of another set from this set.

discard(elem)

Remove an element from a set if it is a member.

If the element is not a member, do nothing.

intersection_update(*others)

Update a set with the intersection of itself and another.

pop()

Remove and return an arbitrary set element. Raises KeyError if the set is empty.

remove(elem)

Remove an element from a set; it must be a member.

If the element is not a member, raise a KeyError.

symmetric_difference_update(other)

Update a set with the symmetric difference of itself and another.

update(*others)

Update a set with the union of itself and others.