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 d9caa19 commit 8783d33Copy full SHA for 8783d33
services/storage/src/simcore_service_storage/modules/celery/client.py
@@ -65,9 +65,7 @@ async def send_task(
65
66
@staticmethod
67
@make_async()
68
- def abort_task( # pylint: disable=R6301
69
- self, task_context: TaskContext, task_uuid: TaskUUID
70
- ) -> None:
+ def abort_task(task_context: TaskContext, task_uuid: TaskUUID) -> None:
71
task_id = build_task_id(task_context, task_uuid)
72
_logger.info("Aborting task %s", task_id)
73
AbortableAsyncResult(task_id).abort()
0 commit comments