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_ – that we want to filter. All possible keys must contained in level_ref. Else a KEyError exception will be raised.

  • level – the OptionLevel we want to get. All keys which an higher option level will be removed from the dictionary

  • level_ref – dict containing all possible ‘dict_’ keys with associated option level