MCPcopy
hub / github.com/XX-net/XX-Net / set_var

Method set_var

code/default/lib/noarch/xconfig.py:57–58  ·  view source on GitHub ↗
(self, var_name, default_value)

Source from the content-addressed store, hash-verified

55 f.write(json.dumps(self.file_config, indent=2, ensure_ascii=False))
56
57 def set_var(self, var_name, default_value):
58 self.default_config[var_name] = default_value

Callers 9

load_configFunction · 0.95
__init__Method · 0.95
load_configFunction · 0.95
__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.95
__init__Method · 0.95
set_defaultMethod · 0.80
config.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected