core.utils package¶
Submodules¶
core.utils.dot_dict module¶
-
class
core.utils.dot_dict.
DotDict
(dct)¶ Bases:
dict
A dictionary that supports dot notation as well as dictionary access notation.
Example
d = DotDict() or d = DotDict({‘val1’:’first’}) - set attributes: d.val2 = ‘second’ or d[‘val2’] = ‘second’ - get attributes: d.val2 or d[‘val2’]
-
class
core.utils.dot_dict.
dotdict
¶ Bases:
dict
Dot.notation access to dictionary attributes.