Skip to content

Commit b27fce6

Browse files
committed
use docstrings so that coverage is correctly computed
1 parent f0027cf commit b27fce6

File tree

1 file changed

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

1 file changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,17 +481,20 @@ async def _start_tasks(
481481
scheduled_tasks: dict[NodeID, CompTaskAtDB],
482482
comp_run: CompRunsAtDB,
483483
wake_up_callback: Callable[[], None],
484-
) -> None: ...
484+
) -> None:
485+
"""start tasks in the 3rd party backend"""
485486

486487
@abstractmethod
487488
async def _get_tasks_status(
488489
self, user_id: UserID, tasks: list[CompTaskAtDB], comp_run: CompRunsAtDB
489-
) -> list[RunningState]: ...
490+
) -> list[RunningState]:
491+
"""returns tasks status from the 3rd party backend"""
490492

491493
@abstractmethod
492494
async def _stop_tasks(
493495
self, user_id: UserID, tasks: list[CompTaskAtDB], comp_run: CompRunsAtDB
494-
) -> None: ...
496+
) -> None:
497+
"""stop tasks in the 3rd party backend"""
495498

496499
@abstractmethod
497500
async def _process_completed_tasks(
@@ -500,7 +503,8 @@ async def _process_completed_tasks(
500503
tasks: list[CompTaskAtDB],
501504
iteration: Iteration,
502505
comp_run: CompRunsAtDB,
503-
) -> None: ...
506+
) -> None:
507+
"""process tasks from the 3rd party backend"""
504508

505509
async def schedule_pipeline(
506510
self,

0 commit comments

Comments
 (0)