class documentation

class ErrConfigHandler(ConfigHandler): (source)

View In Hierarchy

Erroneous handler. Fails to implement required methods.

Class Variable section_prefix Prefix for config sections handled by this handler. Must be provided by class heirs.

Inherited from ConfigHandler:

Method __init__ Undocumented
Method __setitem__ Undocumented
Method parse Parses configuration file items from one or more related sections.
Method parse_section Parses configuration file section.
Class Variable aliases Options aliases. For compatibility with various packages. E.g.: d2to1 and pbr. Note: `-` in keys is replaced with `_` by config parser.
Instance Variable ensure_discovered Undocumented
Instance Variable ignore_option_errors Undocumented
Instance Variable sections Undocumented
Instance Variable set_options Undocumented
Instance Variable target_obj Undocumented
Property parsers Metadata item name to parser function mapping.
Class Method _exclude_files_parser Returns a parser function to make sure field inputs are not files.
Class Method _get_parser_compound Returns parser function to represents value as a list.
Class Method _parse_bool Represents value as boolean.
Class Method _parse_dict Represents value as a dict.
Class Method _parse_list Represents value as a list.
Class Method _parse_section_to_dict Parses section options into a dictionary.
Class Method _parse_section_to_dict_with_key Parses section options into a dictionary.
Class Method _section_options Undocumented
Method _deprecated_config_handler this function will wrap around parameters that are deprecated
Method _parse_attr Represents value as a module attribute.
Method _parse_file Represents value as a string, allowing including text from nearest files using `file:` directive.
Instance Variable _referenced_files After parsing configurations, this property will enumerate all files referenced by the "file:" directive. Private API for setuptools only.
section_prefix: str = (source)

Prefix for config sections handled by this handler. Must be provided by class heirs.