Fix typing issue in galaxy.tool_util.client.staging.

This commit is contained in:
John Chilton
2022-08-25 12:26:18 -04:00
parent 960c9cde48
commit df7fcb0283
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ class StagingInterface(metaclass=abc.ABCMeta):
elif isinstance(upload_target, DirectoryUploadTarget):
fetch_payload = _fetch_payload(history_id, file_type="directory")
fetch_payload["targets"][0].pop("elements")
tar_path = upload_target.path
tar_path = upload_target.tar_path
src = _attach_file(fetch_payload, tar_path)
fetch_payload["targets"][0]["elements_from"] = src
else:
-2
View File
@@ -216,8 +216,6 @@ check_untyped_defs = False
check_untyped_defs = False
[mypy-galaxy.tool_util.deps.mulled.mulled_search]
check_untyped_defs = False
[mypy-galaxy.tool_util.client.staging]
check_untyped_defs = False
[mypy-galaxy.tool_shed.util.hg_util]
check_untyped_defs = False
[mypy-galaxy.model.migrate.versions.0068_rename_sequencer_to_external_services]