rotifer.core.functions.dotdict#
- class rotifer.core.functions.dotdict[source]#
Bases:
dictA class implementing dot annotation access to dictionary attributes Instead of using dc[‘key’] dictionary values can be accessed using dc.key. ———– PARAMETERS: input a python dictionary ———– Example: import rotifer.core.functions as cf
- dc = dotdict({‘key1’: ‘value1’,
‘key2’: ‘value2’})
dc.key1 dc.key2