We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b149f0 commit ef92407Copy full SHA for ef92407
services/web/server/src/simcore_service_webserver/long_running_tasks/plugin.py
@@ -30,7 +30,9 @@ async def _test_task_context_decorator(
30
) -> web.StreamResponse:
31
"""this task context callback tries to get the user_id from the query if available"""
32
req_ctx = AuthenticatedRequestContext.model_validate(request)
33
- request[LONG_RUNNING_TASKS_CONTEXT_REQKEY] = req_ctx.model_dump(mode="json")
+ request[LONG_RUNNING_TASKS_CONTEXT_REQKEY] = req_ctx.model_dump(
34
+ mode="json", by_alias=True
35
+ )
36
return await handler(request)
37
38
return _test_task_context_decorator
0 commit comments