diff options
author | 2022-07-14 02:46:03 +0200 | |
---|---|---|
committer | 2022-07-14 02:46:03 +0200 | |
commit | 2d8520a0f3211e3d788d431287359b496782c962 (patch) | |
tree | c2f48defd05b6d832bb814b87452a7aacfa9fc3d /pydis_site/templates | |
parent | Add `aiohttp` to approved frameworks (diff) |
Add rule about forced usage of WebSockets
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/events/pages/code-jams/9/rules.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pydis_site/templates/events/pages/code-jams/9/rules.html b/pydis_site/templates/events/pages/code-jams/9/rules.html index 72c0372e..a88c795a 100644 --- a/pydis_site/templates/events/pages/code-jams/9/rules.html +++ b/pydis_site/templates/events/pages/code-jams/9/rules.html @@ -12,6 +12,15 @@ {% block event_content %} <ol> <li><p>Your solution must use one of the approved frameworks (a list will be released soon). It is not permitted to circumvent this rule by e.g. using the approved framework as a wrapper for another framework.</p></li> + <li> + <p><strong>Your solution must only communicate through WebSockets</strong>. Any communication between the client and server (or any two server workers), must utilize WebSockets.</p> + + <p> + Exceptions to this rule are made for resources such as databases and files, albeit excluding usage other than for storage. + For example, you may use PostgreSQL as a database but not its `NOTIFY` command. + Lastly, working with subprocesses (through stdin/stdout or <code>multiprocessing.Pool()</code>/<code>concurrent.futures.ProcessPoolExecutor()(</code>) is also exempted from this rule. + </p> + </li> <li><p>Your solution should be platform agnostic. For example, if you use filepaths in your submission, use <code>pathlib</code> to create platform agnostic Path objects instead of hardcoding the paths.</p></li> <li> <p> |