Skip to content

Commit

Permalink
fix lint problem
Browse files Browse the repository at this point in the history
  • Loading branch information
arash77 committed Nov 28, 2024
1 parent d1bae4a commit a9508bd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/galaxy/tools/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 (
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a9508bd

Please sign in to comment.