'
- return f'{link_str}{tool_version.tool_id}
'
- return tool_version.tool_id
-
- class ToolVersionsColumn(grids.TextColumn):
- def get_value(self, trans, grid, tool_version):
- tool_ids_str = ""
- toolbox = trans.app.toolbox
- if tool := toolbox._tools_by_id.get(tool_version.tool_id):
- for tool_id in tool.lineage.tool_ids:
- if toolbox.has_tool(tool_id, exact=True):
- link = url_for(controller="tool_runner", tool_id=tool_id)
- link_str = f'