From 44c2eca0b7a01fc59b8be5db5e6e1a65ee1dd0bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 04:03:15 -0700 Subject: [PATCH] Bump mypy from 1.5.1 to 1.6.1 (#4660) * 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] * type fix --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael R. Crusoe --- requirements-dev.txt | 2 +- src/toil/server/cli/wes_cwl_runner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 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: