Skip to content

Commit 3235ed5

Browse files
committed
mypy fix
1 parent 36cb185 commit 3235ed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async def _get_pipeline_tasks(
196196
for t in await comp_tasks_repo.list_computational_tasks(project_id)
197197
if (f"{t.node_id}" in list(pipeline_dag.nodes()))
198198
}
199-
if len(pipeline_comp_tasks) != len(pipeline_dag.nodes()): # type: ignore[arg-type]
199+
if len(pipeline_comp_tasks) != len(pipeline_dag.nodes()):
200200
msg = (
201201
f"The tasks defined for {project_id} do not contain all"
202202
f" the tasks defined in the pipeline [{list(pipeline_dag.nodes)}]! Please check."

services/director/src/simcore_service_director/registry_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ async def get_image_digest(app: FastAPI, image: str, tag: str) -> str | None:
389389

390390
headers = headers or {}
391391
docker_digest: str | None = headers.get(_DOCKER_CONTENT_DIGEST_HEADER, None)
392-
return docker_digests
392+
return docker_digest
393393

394394

395395
async def get_image_labels(

0 commit comments

Comments
 (0)