def METHOD_NAME(self, tools):
    for (name, tool) in tools.items():
        if isinstance(tool, dict):
            self.METHOD_NAME(tool)
        else:
            tool_info = tool.get_info()
            name_item = QTableWidgetItem(tool_info.get("name","None"))
            group_item = QTableWidgetItem(tool_info.get("group","None"))
            author_item = QTableWidgetItem(tool_info.get("author","None"))
            file_item = QTableWidgetItem(tool_info.get("file","None"))
            new_row = self.ui.externalToolsTableWidget.rowCount()
            self.ui.externalToolsTableWidget.insertRow(new_row)
            self.ui.externalToolsTableWidget.setItem(new_row, 0, name_item)
            self.ui.externalToolsTableWidget.setItem(new_row, 1, group_item)
            self.ui.externalToolsTableWidget.setItem(new_row, 2, author_item)
            self.ui.externalToolsTableWidget.setItem(new_row, 3, file_item)