gustaf.helpers.data.DataHolder.get#

DataHolder.get(key, default_values=None)[source]#

Returns stored item if the key exists. Else, given default value. If the key exist, default value always exists, since it is initialized that way.

Parameters:
  • key (str)

  • default_values (object)

Returns:

value

Return type:

object