3.1.10.3. DictionaryTools

class LaptopControlPanel.Tools.DictionaryTools.DictInitialised(**kwargs)[source]

Bases: object

This ABC class implements a class initialised by a dict.

The required attributes are provided by the class attribute ‘’‘__REQUIRED_ATTRIBUTES__’‘’ tuple and the optional attributes are provided by the class attribute ‘’‘__DEFAULT_ATTRIBUTES__’‘’ dict where keys define the attribute names and values provide a default value functor.

LaptopControlPanel.Tools.DictionaryTools.init_default_key(d, **kwargs)[source]

Complete the dict d by the dict kwargs.

Previous topic

3.1.10.2. DictTools

Next topic

3.1.10.4. EnumFactory

This Page