diff options
author | 2022-12-04 09:36:21 +0800 | |
---|---|---|
committer | 2022-12-04 09:36:21 +0800 | |
commit | 8c7da5a32a6959409f917fb32ba331fe5132751e (patch) | |
tree | a0b340fc39a945964997060ec1402a195dc6c607 | |
parent | Remove link to api schema info (diff) |
Remove readme implementation details
-rw-r--r-- | README.md | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -79,18 +79,12 @@ The following options for the memory file system are configurable as options in * `files_timeout` Maximum time in seconds for output file parsing and encoding. * `files_pattern` Glob pattern to match files within `output`. -The sandboxed code execution will start with a working directory of `home`, and a visible folder `output`. The user has read/write access to any path under `home`. +The sandboxed code execution will start with a writeable working directory of `home`. Any files written within the subfolder `output` will be parsed for output. ``` /home |- output ``` -Files written to the `output` subfolder will be parsed and returned as a list of `FileAttachment` objects in `EvalResult.files` from the `python3` function. - -To send files to snekbox, it can be included as the `files` parameter of `python3`. - -Within the `/eval` route, files are attached or returned under the `files` key. - ### Gunicorn [Gunicorn settings] can be found in [`gunicorn.conf.py`]. In the default configuration, the worker count, the bind address, and the WSGI app URI are likely the only things of any interest. Since it uses the default synchronous workers, the [worker count] effectively determines how many concurrent code evaluations can be performed. |