CaselessDict

Inheritance diagram of CaselessDict
class CaselessDict(other=None)[source]

A case insensitive dictionary. Use this class as a normal dictionary. The keys must be strings

Import from taurus.core.util.containers as:

from taurus.core.util.containers import CaselessDict
fromkeys(iterable, value=None)[source]

Create a new dictionary with keys from iterable and values set to value.

get(key, def_val=None)[source]

overwritten from dict.get()

has_key(key)[source]

overwritten from dict.has_key() (needed for python2)

pop(key, def_val=None)[source]

overwritten from dict.pop()

setdefault(key, def_val=None)[source]

overwritten from dict.setdefault()

update(other)[source]

overwritten from dict.update()