feat(socketio): integrate SocketIO service for real-time communication and emit credits change events

This commit is contained in:
JSC
2025-07-04 20:18:46 +02:00
parent 1cd43a670d
commit ccc5ee38e2
6 changed files with 266 additions and 30 deletions

View File

@@ -13,6 +13,7 @@ dependencies = [
"flask-cors==6.0.1",
"flask-jwt-extended==4.7.1",
"flask-migrate==4.1.0",
"flask-socketio==5.5.1",
"flask-sqlalchemy==3.1.1",
"pydub==0.25.1",
"python-dotenv==1.1.1",
@@ -21,7 +22,7 @@ dependencies = [
]
[dependency-groups]
dev = ["black==25.1.0", "pytest==8.4.1", "ruff==0.12.1"]
dev = ["black==25.1.0", "pytest==8.4.1", "ruff==0.12.2"]
[tool.black]
line-length = 80
@@ -29,7 +30,4 @@ line-length = 80
[tool.ruff]
line-length = 80
lint.select = ["ALL"]
lint.ignore = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
]
lint.ignore = ["D100", "D104"]