Skip to content

Commit 03bafb0

Browse files
Solving mypy complaints
1 parent 4ca3d25 commit 03bafb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def rewrite_loop_requirements(t: CWLObjectType) -> None:
4343
)
4444
s["when"] = r["loopWhen"]
4545
if "loop" in r:
46-
for el in r["loop"]:
46+
for el in cast(MutableSequence[CWLObjectType], r["loop"]):
4747
source = el.pop("loopSource", None)
4848
if source is not None:
4949
el["outputSource"] = source

0 commit comments

Comments
 (0)