You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- UVICORN_HOST: network interfaces to bind the server. Default to `0.0.0.0`.
281
281
282
282
# Development
283
-
Make sure you have at least Python version **3.10**, [ngrok](https://ngrok.com/download) and [Google Cloud SDK](https://cloud.google.com/sdk/docs/install), then run:
283
+
Make sure you have at least Python version **3.11**, [ngrok](https://ngrok.com/download) and [Google Cloud SDK](https://cloud.google.com/sdk/docs/install), then run:
284
284
-`pip install -r requirements.txt`
285
285
- in a sepparate terminal run `ngrok http 3000` and take a note of the _ngrok generated https address_
286
286
-**ℹ Note**: if there is a VPN client running, ngrok might fail to establish a connection
@@ -362,7 +362,7 @@ coverage run --source=multi_reaction_add -m unittest discover
362
362
coverage report -m
363
363
```
364
364
365
-
Use the following `.vscode/settings.json` configuration to setup testing with [unittest](https://docs.python.org/3.10/library/unittest.html) for [VS Code](https://code.visualstudio.com/docs/python/testing#_enable-a-test-framework):
365
+
Use the following `.vscode/settings.json` configuration to setup testing with [unittest](https://docs.python.org/3.11/library/unittest.html) for [VS Code](https://code.visualstudio.com/docs/python/testing#_enable-a-test-framework):
366
366
```json
367
367
{
368
368
"python.testing.unittestArgs": [
@@ -380,7 +380,7 @@ Use the following `.vscode/settings.json` configuration to setup testing with [u
380
380
381
381
## More
382
382
383
-
The app uses [ASGI](https://asgi.readthedocs.io/en/latest/) with [starlette](https://www.starlette.io/) and the application is handling requests with [uvicorn](https://www.uvicorn.org/), which works on top of Python's concurrent library [asyncio](https://docs.python.org/3.10/library/asyncio.html). The choice was mostly based on the results shown in this [post](https://stackabuse.com/asynchronous-vs-synchronous-python-performance-analysis/#summarizingresults).
383
+
The app uses [ASGI](https://asgi.readthedocs.io/en/latest/) with [starlette](https://www.starlette.io/) and the application is handling requests with [uvicorn](https://www.uvicorn.org/), which works on top of Python's concurrent library [asyncio](https://docs.python.org/3.11/library/asyncio.html). The choice was mostly based on the results shown in this [post](https://stackabuse.com/asynchronous-vs-synchronous-python-performance-analysis/#summarizingresults).
384
384
385
385
The application exposes two additional http endpoints: `/img` for serving static images, and `/_ah/warmup` for GAE [warmup requests](https://cloud.google.com/appengine/docs/standard/python3/configuring-warmup-requests).
0 commit comments