From a9508bd04bc49b15f18a6afe788e52584f83adfb Mon Sep 17 00:00:00 2001 From: Arash Date: Thu, 28 Nov 2024 17:17:57 +0100 Subject: [PATCH] fix lint problem --- lib/galaxy/tools/evaluation.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/galaxy/tools/evaluation.py b/lib/galaxy/tools/evaluation.py index 7df74ba4d2e6..bbb72308cc1e 100644 --- a/lib/galaxy/tools/evaluation.py +++ b/lib/galaxy/tools/evaluation.py @@ -6,10 +6,9 @@ import string import tempfile from datetime import datetime -from typing import ( +from typing import ( # cast, Any, Callable, - cast, Dict, List, Optional, @@ -29,11 +28,11 @@ ) from galaxy.model.none_like import NoneDataset from galaxy.security.object_wrapper import wrap_with_safe_string -from galaxy.security.vault import UserVaultWrapper -from galaxy.structured_app import ( + +# from galaxy.security.vault import UserVaultWrapper +from galaxy.structured_app import ( # StructuredApp, BasicSharedApp, MinimalToolApp, - StructuredApp, ) from galaxy.tool_util.data import TabularToolDataTable from galaxy.tools.parameters import ( @@ -192,7 +191,7 @@ def set_compute_environment(self, compute_environment: ComputeEnvironment, get_s self.execute_tool_hooks(inp_data=inp_data, out_data=out_data, incoming=incoming) if self.tool.credentials: - app = cast(StructuredApp, self.app) + # app = cast(StructuredApp, self.app) # user_vault = UserVaultWrapper(app.vault, self._user) for credentials in self.tool.credentials: reference = credentials.reference