MCPcopy Create free account
hub / github.com/dashingsoft/pyarmor-webui / _set_config

Method _set_config

handler.py:89–91  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

87 return json.load(fp)
88
89 def _set_config(self, data):
90 with open(self._config_filename(), 'w') as fp:
91 return json.dump(data, fp, indent=2)
92
93
94class RootHandler(BaseHandler):

Callers 12

do_newMethod · 0.80
do_updateMethod · 0.80
do_removeMethod · 0.80
do_newMethod · 0.80
do_updateMethod · 0.80
do_removeMethod · 0.80
do_newMethod · 0.80
do_updateMethod · 0.80
do_removeMethod · 0.80
do_newMethod · 0.80
do_updateMethod · 0.80
do_removeMethod · 0.80

Calls 1

_config_filenameMethod · 0.95

Tested by

no test coverage detected