reconfigure.configs¶
Configs are ready-to-use objects that link together Parsers, Includers and Builders to provide direct conversion between config files and Data tree.
-
class
reconfigure.configs.
Reconfig
(parser=None, includer=None, builder=None, path=None, content=None)[source]¶ Basic config class. Derivatives normally only need to override the constructor.
Config data is loaded either from
path
or fromcontent
Parameters: - parser – overrides the Parser instance
- includer – overrides the Includer instance
- builder – overrides the Builder instance
- path – config file path. Not compatible with
content
- content – config file content. Not compatible with
path