module documentation

Parse and validate the main cfg and project configs

Class ConfigParser Read and parse the main config file
Function parse Parse a dictionary according to the klass spec and return a config (Data) object
Constant CONFIG_FUNCTION_NAME Undocumented
Constant CONFIG_PATH_PATTERN Undocumented
Function _as_dict Undocumented
Function _as_flat_list Undocumented
Function _error Undocumented
Function _save_intermediate Undocumented
Function _syntax_error Undocumented
def parse(specs: gws.ISpecRuntime, value, type_name: str, source_path='', read_options=None): (source)

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

CONFIG_FUNCTION_NAME: str = (source)

Undocumented

Value
'config'
CONFIG_PATH_PATTERN: str = (source)

Undocumented

Value
'\\bconfig\\.(py|json|yaml|cx)$'
def _as_dict(val): (source)

Undocumented

def _as_flat_list(ls): (source)

Undocumented

def _error(message, *args, cause=None): (source)

Undocumented

def _save_intermediate(path, txt, ext): (source)

Undocumented

def _syntax_error(path, src, message, line, context=10, cause=None): (source)

Undocumented