bi_etl.utility.case_insensitive_set module

class bi_etl.utility.case_insensitive_set.CaseInsensitiveFrozenSet(iterable=None)[source]

Bases: CaseInsensitiveSet, frozenset

__init__(iterable=None)[source]
add(value)[source]

Add an element.

clear()

This is slow (creates N new iterators!) but effective.

copy()

Return a shallow copy of a set.

difference(*others)

Return a new set with elements in the set that are not in the others.

discard(value)[source]

Remove an element. Do not raise an exception if absent.

intersection(*others)

Return a new set with elements common to the set and all others.

isdisjoint(other)

Return True if two sets have a null intersection.

issubset(other, /)

Report whether another set contains this set.

issuperset(other, /)

Report whether this set contains another set.

pop()

Return the popped value. Raise KeyError if empty.

remove(value)

Remove an element. If not a member, raise a KeyError.

symmetric_difference(other, /)

Return a new set with elements in either the set or other but not both.

union(*others)

Return a new set with elements from the set and all others.

class bi_etl.utility.case_insensitive_set.CaseInsensitiveSet(iterable=None)[source]

Bases: MutableSet

__init__(iterable=None)[source]
add(value)[source]

Add an element.

clear()

This is slow (creates N new iterators!) but effective.

discard(value)[source]

Remove an element. Do not raise an exception if absent.

isdisjoint(other)

Return True if two sets have a null intersection.

pop()

Return the popped value. Raise KeyError if empty.

remove(value)

Remove an element. If not a member, raise a KeyError.