nxtomomill.io.config.optionlevel.filter_options_level_items#
- nxtomomill.io.config.optionlevel.filter_options_level_items(dict_, level, level_ref)[source]#
Filer items in given dict from there configuration level.
- Parameters:
dict_ (
dict[str,Any]) – that we want to filter. All possible keys must contained in level_ref. Else a KEyError exception will be raised.level (
OptionLevel) – the OptionLevel we want to get. All keys which an higher option level will be removed from the dictionarylevel_ref (
dict[str,OptionLevel]) – dict containing all possible ‘dict_’ keys with associated option level
- Return type:
dict[str,Any]