def METHOD_NAME(self, key: str, val: str):
    """Add row with the given key/value.
    Args:
        key (str): The key
        val (str): The value
    """
    self._data[key] = val
    self._view.resizeColumnsToContents()