sf.configuration.keep_valid_options

keep_valid_options(sectionconfig)[source]

Filters the valid options in a section of a configuration dictionary.

Parameters

sectionconfig (dict[str, Union[str, bool, int]]) – the section of the configuration to check

Returns

the keep section of the

configuration

Return type

dict[str, Union[str, bool, int]]