Skip to content

Commit 8ad62ba

Browse files
committed
@sanderegg analyze_pipeline -> validate_pipeline
1 parent 1b81707 commit 8ad62ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

services/director-v2/src/simcore_service_director_v2/api/routes/computations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
from ..dependencies.database import get_repository
8484
from ..dependencies.rabbitmq import rabbitmq_rpc_client
8585
from ..dependencies.rut_client import get_rut_client
86-
from .computations_tasks import analyze_pipeline
86+
from .computations_tasks import validate_pipeline
8787

8888
_PIPELINE_ABORT_TIMEOUT_S: Final[timedelta] = timedelta(seconds=30)
8989

@@ -453,7 +453,7 @@ async def get_computation(
453453
# check that project actually exists
454454
await project_repo.get_project(project_id)
455455

456-
pipeline_dag, all_tasks, _filtered_tasks = await analyze_pipeline(
456+
pipeline_dag, all_tasks, _filtered_tasks = await validate_pipeline(
457457
project_id, comp_pipelines_repo, comp_tasks_repo
458458
)
459459

services/director-v2/src/simcore_service_director_v2/api/routes/computations_tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# HELPERS -------------------------------------------------------------------
3636

3737

38-
async def analyze_pipeline(
38+
async def validate_pipeline(
3939
project_id: ProjectID,
4040
comp_pipelines_repo: CompPipelinesRepository,
4141
comp_tasks_repo: CompTasksRepository,
@@ -82,7 +82,7 @@ async def get_all_tasks_log_files(
8282
Each log is only available when the corresponding task is done
8383
"""
8484
# gets computation task ids
85-
info = await analyze_pipeline(project_id, comp_pipelines_repo, comp_tasks_repo)
85+
info = await validate_pipeline(project_id, comp_pipelines_repo, comp_tasks_repo)
8686
iter_task_ids = (t.node_id for t in info.filtered_tasks)
8787

8888
tasks_logs_files: list[TaskLogFileGet] = await logged_gather(

0 commit comments

Comments
 (0)