use of websockets

This commit is contained in:
2025-11-01 19:23:32 +01:00
parent 57c30a0156
commit d5f7b1598f
5 changed files with 131 additions and 100 deletions

7
.vscode/launch.json vendored
View File

@@ -8,6 +8,7 @@
"program": "${workspaceFolder}/src/server/fastapi_app.py",
"console": "integratedTerminal",
"justMyCode": true,
"python": "/home/lukas/miniconda3/envs/AniWorld/bin/python",
"env": {
"PYTHONPATH": "${workspaceFolder}/src:${workspaceFolder}",
"JWT_SECRET_KEY": "your-secret-key-here-debug",
@@ -29,6 +30,7 @@
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"python": "/home/lukas/miniconda3/envs/AniWorld/bin/python",
"args": [
"src.server.fastapi_app:app",
"--host",
@@ -59,6 +61,7 @@
"program": "${workspaceFolder}/src/cli/Main.py",
"console": "integratedTerminal",
"justMyCode": true,
"python": "/home/lukas/miniconda3/envs/AniWorld/bin/python",
"env": {
"PYTHONPATH": "${workspaceFolder}/src:${workspaceFolder}",
"LOG_LEVEL": "DEBUG",
@@ -76,6 +79,7 @@
"type": "debugpy",
"request": "launch",
"module": "pytest",
"python": "/home/lukas/miniconda3/envs/AniWorld/bin/python",
"args": [
"${workspaceFolder}/tests",
"-v",
@@ -101,6 +105,7 @@
"type": "debugpy",
"request": "launch",
"module": "pytest",
"python": "/home/lukas/miniconda3/envs/AniWorld/bin/python",
"args": [
"${workspaceFolder}/tests/unit",
"-v",
@@ -121,6 +126,7 @@
"type": "debugpy",
"request": "launch",
"module": "pytest",
"python": "/home/lukas/miniconda3/envs/AniWorld/bin/python",
"args": [
"${workspaceFolder}/tests/integration",
"-v",
@@ -144,6 +150,7 @@
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"python": "/home/lukas/miniconda3/envs/AniWorld/bin/python",
"args": [
"src.server.fastapi_app:app",
"--host",