Skip to content

Commit 42eabab

Browse files
committed
linter
1 parent 8c727c7 commit 42eabab

File tree

1 file changed

+2
-2
lines changed
  • services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler

1 file changed

+2
-2
lines changed

services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_scheduler_dask.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,8 @@ async def _handle_computational_retrieval_error(
404404
# state is kept as STARTED so it will be retried
405405
return RunningState.STARTED, SimcorePlatformStatus.BAD, task_errors, False
406406

407+
@staticmethod
407408
async def _handle_computational_backend_not_connected_error(
408-
self,
409409
task: CompTaskAtDB,
410410
result: ComputationalBackendNotConnectedError,
411411
log_error_context: dict[str, Any],
@@ -424,8 +424,8 @@ async def _handle_computational_backend_not_connected_error(
424424
# state is kept as STARTED so it will be retried
425425
return RunningState.STARTED, SimcorePlatformStatus.BAD, [], False
426426

427+
@staticmethod
427428
async def _handle_task_error(
428-
self,
429429
task: CompTaskAtDB,
430430
result: BaseException,
431431
log_error_context: dict[str, Any],

0 commit comments

Comments
 (0)