gustaf.helpers.data.DataHolder#

class gustaf.helpers.data.DataHolder(helpee)[source]#

Bases: HelperBase

Methods

DataHolder.clear()

Clears saved data by reassigning new dict

DataHolder.get(key[, default_values])

Returns stored item if the key exists.

DataHolder.items()

Returns items of data holding dict.

DataHolder.keys()

Returns keys of data holding dict.

DataHolder.pop(key[, default])

Applied pop() to saved data

DataHolder.update(**kwargs)

Updates given kwargs using __setitem__.

DataHolder.values()

Returns values of data holding dict.