class documentation
class ErrConfigHandler(ConfigHandler): (source)
Erroneous handler. Fails to implement required methods.
Class Variable | section |
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 |
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 |
Undocumented |
Instance Variable | ignore |
Undocumented |
Instance Variable | sections |
Undocumented |
Instance Variable | set |
Undocumented |
Instance Variable | target |
Undocumented |
Property | parsers |
Metadata item name to parser function mapping. |
Class Method | _exclude |
Returns a parser function to make sure field inputs are not files. |
Class Method | _get |
Returns parser function to represents value as a list. |
Class Method | _parse |
Represents value as boolean. |
Class Method | _parse |
Represents value as a dict. |
Class Method | _parse |
Represents value as a list. |
Class Method | _parse |
Parses section options into a dictionary. |
Class Method | _parse |
Parses section options into a dictionary. |
Class Method | _section |
Undocumented |
Method | _deprecated |
this function will wrap around parameters that are deprecated |
Method | _parse |
Represents value as a module attribute. |
Method | _parse |
Represents value as a string, allowing including text from nearest files using `file:` directive. |
Instance Variable | _referenced |
After parsing configurations, this property will enumerate all files referenced by the "file:" directive. Private API for setuptools only. |