gws.config.loader¶
Source code: gws.config.loader
Module Contents¶
- gws.config.loader.configure(manifest_path='', config_path='', specs: gws.SpecRuntime | None = None, raw_config: dict | gws.Data = None, fallback_config: dict | gws.Data = None, with_spec_cache=False, hooks: list = None) gws.ConfigResult¶
Configure the server.
- gws.config.loader.deactivate()¶
- gws.config.loader.initialize(specs: gws.SpecRuntime, config: gws.Config) gws.Root¶
- gws.config.loader.log_report(cr: gws.ConfigResult)¶
- class gws.config.loader.Object(manifest_path='', config_path='', specs=None, raw_config=None, fallback_config=None, with_spec_cache=False, hooks=None)¶
- config = None¶
- configPath: str¶
- ctx: gws.ConfigContext¶
- fallbackConfig: gws.Config | None¶
- hooks = []¶
- manifestPath: str¶
- rawConfig = None¶
- root = None¶
- specs = None¶
- tm1¶
- withSpecCache: bool¶
- configure() gws.ConfigResult¶
- parse() gws.ConfigResult¶
- gws.config.loader.parse(manifest_path='', config_path='', specs: gws.SpecRuntime | None = None) gws.ConfigResult¶
Parse input configuration.
- gws.config.loader.real_config_path(config_path: str) str¶
- gws.config.loader.real_manifest_path(manifest_path: str) str¶