MCPcopy Index your code
hub / github.com/bugy/script-server / read_config_parameters

Method read_config_parameters

src/web/server.py:177–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

175 raise tornado.web.HTTPError(403, reason=str(e))
176
177 def read_config_parameters(self):
178 config = json.loads(self.get_argument('config'))
179 filename = self.get_argument('filename', default=None)
180 uploaded_script = get_form_file(self, 'uploadedScript')
181
182 return config, filename, uploaded_script
183
184
185class AdminScriptEndpoint(BaseRequestHandler):

Callers 2

postMethod · 0.95
putMethod · 0.95

Calls 1

get_form_fileFunction · 0.90

Tested by

no test coverage detected