foxes.utils.Dict.get_item(key, *deflt, prnt=True)[source]

Gets an item, prints readable error if not found

Parameters

key: immutable object

The key

deflt: tuple, optional

Tuple of length 1, containing the default

prnt: bool

Flag for message printing

Returns

data: object

The data