From e183f6fcc0ff679a28a44e2a8a1036d2a1908671 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 04:35:38 +0000 Subject: [PATCH 1/2] Bump mypy from 1.5.1 to 1.6.1 Bumps [mypy](https://github.com/python/mypy) from 1.5.1 to 1.6.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.5.1...v1.6.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 2d28c2da90..db69f9e959 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -11,7 +11,7 @@ astroid>=2.15,<3 sphinx-autodoc-typehints>=1.24.0,<2 sphinxcontrib-autoprogram==0.1.8 cwltest>=2.2.20211116163652 -mypy==1.5.1 +mypy==1.6.1 types-requests types-setuptools types-boto From c97e5bd6f5bb46c3a8530b966a7fa47eaa911c51 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Tue, 31 Oct 2023 10:18:00 +0100 Subject: [PATCH 2/2] type fix --- src/toil/server/cli/wes_cwl_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toil/server/cli/wes_cwl_runner.py b/src/toil/server/cli/wes_cwl_runner.py index 7387f2e23d..67c2e0103f 100644 --- a/src/toil/server/cli/wes_cwl_runner.py +++ b/src/toil/server/cli/wes_cwl_runner.py @@ -396,7 +396,7 @@ def submit_run(client: WESClientWithWorkflowEngineParameters, input_file, attachments=attachments, workflow_engine_parameters=engine_options) - return run_result.get("run_id", None) + return str(run_result["run_id"]) def poll_run(client: WESClientWithWorkflowEngineParameters, run_id: str) -> bool: