from typing import List


def gen_single_row(content: List, lengths: List[int]):
    """
    Generate a row for an rst table.
    E.g. "| C8300 | symbol1 | Lorem ipsum |"
    :param List content: The values of each cell
    :param List[int] lengths: The length of each cell to generate
    :return: Table row with whitespace padded cells
    :rtype: str
    """
    assert len(content) == len(lengths)
    content_length = list(zip(content, lengths))
    row = " | ".join(f"{value.ljust(length)}" for value, length in content_length)
    return f"| {row} |"