chore: apply and fix flake8-bugbear lint rules (#4496)
This commit is contained in:
parent
5f4df34829
commit
e8e213ad1e
4 changed files with 9 additions and 6 deletions
|
|
@ -39,7 +39,6 @@ class ToolNode(BaseNode):
|
|||
parameters = self._generate_parameters(variable_pool, node_data)
|
||||
# get tool runtime
|
||||
try:
|
||||
self.app_id
|
||||
tool_runtime = ToolManager.get_workflow_tool_runtime(self.tenant_id, self.app_id, self.node_id, node_data)
|
||||
except Exception as e:
|
||||
return NodeRunResult(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue