Implement corpora endpoint/socket.io namespace

This commit is contained in:
Patrick Jentsch committed 2024-12-09 16:12:49 +01:00
1 parent 93344c9573
commit 328f85ba52
16 files changed
+339 -182

No files matched your search

+1
View File
@@ -169,6 +169,7 @@ class CQiOverSocketIONamespace(Namespace):
for param in signature(fn).parameters.values():
# Check if the parameter is optional or required
# The following is true for required parameters
if param.default is param.empty:
if param.name not in fn_args:
return {'code': 400, 'msg': 'Bad Request'}