gws.config

Source code: gws.config

Submodules

Package Contents

gws.config.activate(root: gws.Root)
gws.config.CONFIG_PATH_PATTERN = '\\.(py|json|yaml|cx)$'
gws.config.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.deactivate()
gws.config.get_root() gws.Root
gws.config.initialize(specs: gws.SpecRuntime, config: gws.Config) gws.Root
gws.config.load(path=None) gws.Root
gws.config.parse(manifest_path='', config_path='') gws.Config | None

Parse input configuration and return a config object.

gws.config.store(root: gws.Root, path=None) str