bi_etl.utility.case_insentive_set module

class bi_etl.utility.case_insentive_set.CaseInsentiveSet(values)[source]

Bases: MutableSet

Implements a case-insensitive set while still preserving the case of the first instance of each item.

__init__(values)[source]
add(value: str)[source]

Add an element.

clear()

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

discard(value: str)[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.