Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
94
class
RootHandler(BaseHandler):
Callers
12
do_new
Method · 0.80
do_update
Method · 0.80
do_remove
Method · 0.80
do_new
Method · 0.80
do_update
Method · 0.80
do_remove
Method · 0.80
do_new
Method · 0.80
do_update
Method · 0.80
do_remove
Method · 0.80
do_new
Method · 0.80
do_update
Method · 0.80
do_remove
Method · 0.80
Calls
1
_config_filename
Method · 0.95
Tested by
no test coverage detected