gws.config

Source code: gws.config

Submodules

Package Contents

gws.config.activate(root_obj: gws.Root)
gws.config.CONFIG_PATH_PATTERN = '\\bconfig\\.(py|json|yaml|cx)$'
gws.config.configure(manifest_path=None, config_path=None, config=None, before_init=None, fallback_config=None, with_spec_cache=True) gws.Root

Configure the server

gws.config.deactivate()
gws.config.initialize(specs, parsed_config) gws.Root
gws.config.load(path=None) gws.Root
gws.config.parse(specs: gws.SpecRuntime, value, type_name: str, source_path='', read_options=None)

Parse a dictionary according to the klass spec and return a config (Data) object

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