gws.config.loader

Source code: gws.config.loader

Module Contents

gws.config.loader.activate(root: gws.Root)
gws.config.loader.configure(manifest_path='', config_path='', raw_config=None, fallback_config=None, with_spec_cache=True, hooks: list = None) gws.Root | None

Configure the server, return the Root object.

gws.config.loader.deactivate()
gws.config.loader.get_root() gws.Root
gws.config.loader.initialize(specs: gws.SpecRuntime, config: gws.Config) gws.Root
gws.config.loader.load(path=None) gws.Root
class gws.config.loader.Object(manifest_path: str = '', config_path: str = '', raw_config=None, fallback_config=None, with_spec_cache=True, hooks: list = None)
config = None
configPath: str
ctx: gws.ConfigContext
fallbackConfig: gws.Config | None
hooks = []
manifestPath: str
rawConfig = None
root = None
tm1
withSpecCache: bool
configure() gws.Root | None
parse() gws.Config | None
gws.config.loader.parse(manifest_path='', config_path='') gws.Config | None

Parse input configuration and return a config object.

gws.config.loader.real_config_path(config_path: str) str
gws.config.loader.real_manifest_path(manifest_path: str) str
gws.config.loader.store(root: gws.Root, path=None) str